#19 ID in interfaceMap for finished threads

open
nobody
5
2002-05-07
2002-05-07
Mark O' Connell
No

The tool currently manages JNI Interface Pointers for
threads very well,
However, this works for threads that are active for
the duration of the application that uses the JNIPP
tool.

When threads are running for less time than the
time duration of the application, it is possible
for the OS to assign a thread id that was previously
assigned to a thread running in the VM,
If this happens the JNIEnvHelper::getEnv() could
return an invalid interface pointer for a thread that
has already died in the VM.

Discussion