JDK-4484306 : HPROF: thread ID error in thread_start
  • Type: Bug
  • Component: tools
  • Sub-Component: hprof
  • Affected Version: 1.3.1
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,solaris_8
  • CPU: generic,sparc
  • Submitted: 2001-07-25
  • Updated: 2004-06-02
  • Resolved: 2004-06-02
Related Reports
Relates :  
Description
Run into hprof error with the Sitraka Network example test case.  The test
case can be found in the attachment in 4469343.

> java -noclassgc -Xrunhprof:cpu=times -XX:+UseBoundThreads examples/profiler/applications/network/Network

With 1.3.1 FCS:

HPROF ERROR : stack underflow in method exit
HPROF ERROR : stack underflow in method exit
HPROF ERROR : stack underflow in method exit
HPROF ERROR : stack underflow in method exit
HPROF ERROR : stack underflow in method exit
Dumping CPU usage by timing methods ... done.

With 1.3.1_01,
HPROF ERROR: unable to map JVMPI obj ID to hprof obj ID in globalref_alloc
HPROF ERROR : stack underflow in method exit
HPROF ERROR : stack underflow in method exit
HPROF ERROR : stack underflow in method exit
HPROF ERROR : stack underflow in method exit
HPROF ERROR : stack underflow in method exit
HPROF ERROR: unable to map JVMPI thread ID to hprof thread ID  in thread_start

We shall look into these errors.

Comments
PUBLIC COMMENTS .
01-09-2004

EVALUATION Not sure where this example is, I would like to try it with the new hprof. In any case, this bug will probably be closed as will not fix as soon as the new hprof (4873337) is integrated into tiger (1.5). But I would like to verify that the new hprof (built on JVMTI not JVMPI) does not have the problem. ###@###.### 2003-11-09 marking incomplete until we get a testcase or verification the 1.5 hprof doesn't have the problem. ###@###.### 2004-01-28 Got testcase from older bug, seems to work fine with newer hprof (built on JVMTI) in 1.5.0. Closing this bug out as "will not fix" because the actual hprof in question was not fixed (the old hprof based on JVMPI), but keep in mind that use of the newer hprof in 1.5 does work with this testcase. ###@###.### 2004-06-02
02-06-2004