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

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

    XMLWordPrintable

Details

    • gc
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: