Punter Vicky Punter Vicky - 1 month ago 18
Java Question

Java Thread & Unix Process

Will a java thread have a unique PID in UNIX environment? If I want to kill a specific thread of execution , is it possible to be done outside the program?

Answer

Oracle includes jvisualvm in the JDK\bin directory. You can use it to view threads running inside running JVM's. However, I don't see any support for terminating a thread.