This is confusing. The ThreadInfo class provides alot of information, especially statistic of a Thread. However I cannot find such functions in the JVMTI. Is this norma? Do I have to gather the data myself? Do I have to iterate to the ThreadInfo object myself?
This is confusing. The ThreadInfo class provides alot of information, especially statistic of a
Share
All of the information available in the ThreadInfo class can be acquired through JVMTI functions:
See:
http://download.oracle.com/javase/1.5.0/docs/guide/jvmti/jvmti.html#GetThreadState
It’s everything that’s in ThreadInfo, just jammed into a bit vector.