This discussion is archived
0 Replies Latest reply: Mar 16, 2009 10:51 AM by 843810 RSS

Thread Group when thread is ending

843810 Newbie
Currently Being Moderated

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?

Thaks in advance
João Ferreira