Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8234232

[TESTBUG] gc/shenandoah/jvmti/TestHeapDump.java fails with -Xcomp

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b24

      Description

      * Reproduce
      ```
      make test TEST="gc/shenandoah/jvmti/TestHeapDump.java" JTREG="VM_OPTIONS=-Xcomp" CONF=server-release
      ```
        
      * Symptom
      ```
      java.lang.RuntimeException: Expected 1002 objects, but got 1
              at TestHeapDump.run(TestHeapDump.java:86)
              at TestHeapDump.main(TestHeapDump.java:68)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:564)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
              at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected 1002 objects, but got 1
      ```

        Attachments

          Activity

            People

            • Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: