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

TestWBGC.java fails when trying to verify that WB methods isObjectInOldGen and youngGC works correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      Command line: [/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/gc_baseline/linux-i586/bin/java -Xmixed -client -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxTenuringThreshold=1 -XX:+PrintGC TestWBGC$GCYoungTest ]

      ----------System.err:(25/1213)----------
       stdout: [];
       stderr: [Exception in thread "main" java.lang.RuntimeException: Expected value to be true
      at com.oracle.java.testlibrary.Asserts.error(Asserts.java:450)
      at com.oracle.java.testlibrary.Asserts.assertTrue(Asserts.java:377)
      at com.oracle.java.testlibrary.Asserts.assertTrue(Asserts.java:365)
      at TestWBGC$GCYoungTest.main(TestWBGC.java:66)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:308)
      at TestWBGC.main(TestWBGC.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jwilhelm Jesper Wilhelmsson
                Reporter:
                jwilhelm Jesper Wilhelmsson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: