This discussion is archived
0 Replies Latest reply: Apr 3, 2013 1:49 AM by 719552 RSS

GetAllStackTraces supposedly reports wrong state

719552 Newbie
Currently Being Moderated

JVMTI function GetAllStackTraces seems to report wrong thread state when the profiled application is under high load.

For instance, it reports bit JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER for method java.lang.String.valueOf(char[])

How can this method be waiting on a monitor?

Is this a known issue?

Should we report a bug?

Some detail:

Linux 2.6.18, amd64, 8 cores

Java HotSpot(TM) 64-Bit Server VM; 1.7.0_17; 23.7-b01; mixed mode

VM options:

Best regards,


  • Correct Answers - 10 points
  • Helpful Answers - 5 points