Hacker News new | ask | show | jobs
by chrisseaton 2307 days ago
> How do you cleanly stop it

The JVM manages this - there are many options:

- reading a flag - patching the running - changing memory protection and causing a segfault