JDK-4496749 : C2: missing METHOD_EXIT events
  • Type: Bug
  • Component: vm-legacy
  • Sub-Component: jvmpi
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2001-08-27
  • Updated: 2001-11-06
  • Resolved: 2001-11-06
Related Reports
Relates :  
Relates :  
Description
There are some methods missing METHOD_EXIT events when running 
java -server -Xrunhprof:cpu=times on applications.

So hprof outputs a lot of:
HPROF ERROR: method on stack top != method exiting..

method_entry and method_exit are not paired up.
hprof received method_entry for one method but didn't receive
method_exit for it; instead it receives a method_exit event
for its caller. 

See 4489387 and 4491764 to reproduce the problem.

Comments
EVALUATION ###@###.### 2001-10-25 I am not able to reproduce the failure using JDK 1.4 build 84. I tested the following test cases on Solsparc and Win32: java -server -Xrunhprof:cpu=times -jar SwingSet2.jar java -server -Xrunhprof:cpu=times -cp jmol-0.2/jars/jmol.jar -Djmol.home=jmol-0.2 jmol.Jmol java -Xrunhprof:cpu=times -cp TeaTimeJ/teatime.jar mm.project.teatime java -server -Xrunhprof:cpu=times -cp mailpuccino.jar Mailpuccino The last three test cases are gotten from Tong Zhang. ###@###.### 2001-11-06 There were a few C2 fixes putback in build 83: 4503832 1/1 atg server failed with Merlin b79 on x86 in C2 mixed mode 4506997 atg hang in C2 mode on jtgbp62c with Merlin b80 4504804 Performance degradation on scimark 2.0 We're not sure which bug fix fixed the missing method_exit event problem. Since the failure is not reproducible, I'll close this bug.
11-06-2004