Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Thread & Unix Process

Tags:

java

unix

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?

like image 821
Punter Vicky Avatar asked Mar 11 '23 21:03

Punter Vicky


1 Answers

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.

like image 77
AJNeufeld Avatar answered Mar 16 '23 22:03

AJNeufeld