im using JVM TI to do resource monitoring of cpu usage. my java code groups some threads in Threadgroups and im registering the ThreadStart and ThreadEnd events to store information according to the ThreadGroup of that thread. My problem is that in the event ThreadEnd, the ThreadGroup of the thread ending is null. I get this threadgroup using the function GetThreadInfo.
i know that the GetThreadInfo function returns the field group as null if the thread has died, but why is not possible to get the group?