JDK-7055009 : demo/jvmti/heapTracker/HeapTrackerTest.java fails with JVMTI: 112(JVMTI_ERROR_WRONG_PHASE): Cannot..
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 7,8,9
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2011-06-15
  • Updated: 2017-05-01
  • Resolved: 2017-05-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10Resolved
Related Reports
Relates :  
Description
Test
demo/jvmti/heapTracker/HeapTrackerTest.java
rarely fails with message

<end of buffer>
Exception in thread "main" ERROR: JVMTI: 112(JVMTI_ERROR_WRONG_PHASE): Cannot tag object
java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus==3)
        at DemoRun.runit(DemoRun.java:216)
        at DemoRun.runit(DemoRun.java:109)
        at HeapTrackerTest.main(HeapTrackerTest.java:42)
Similar failures mode in the following bug:

6988950 4/4 JDWP exit error JVMTI_ERROR_WRONG_PHASE(112)

Comments
The tests were removed by JDK-8179457
01-05-2017

[ to Joseph: ] This seems to be a wrong link and RULE as they are unrelated to this bug. [ to Alexander: ] The link goes to no failure, the log link can not be resolved. Very strange, it looks like the Aurora results were cleaned up.
24-05-2016

The aurora links can not be resolved anymore. This failure can be hard to reproduce.
27-08-2013