I'm reading about a garbage collector in JVM. And it is written that in some phases of the collecting the applications threads are stopped.
I am not sure how threads can be stopped by JVM (the owner of threads). I am not sure how a JVM thread can control created thread. I see that java process is owner of that thread but to that day I didn't see a method to stop running thread. I suppose and I assumed implicitly that Java wrap Unix threads. (please explain this issue because I am not sure).
safepoints, a place where threads can be brought and stopped safely. That's hopefully all you will ever have to care about; otherwise you would be a JVM engineer :)