This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
GIJ Thread PIDs for JVMTI/JDWP
- From: Kyle Galloway <kgallowa at redhat dot com>
- To: GCC Java <java at gcc dot gnu dot org>
- Date: Thu, 31 Aug 2006 17:20:09 -0400
- Subject: GIJ Thread PIDs for JVMTI/JDWP
Does anyone know if there is already a way to get the Linux PID of a
Java thread running on GIJ? If this functionality doesn't exist, does
anyone know of a better solution than just having the threads store
their PID in a data structure (likely in natThread.cc) on startup? I
want to use this info to implment parts of JVMTI, and this is the method
I was thinking of using provided this information isn't already stored
somewhere.
Any info would be a big help, thanks,
Kyle