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

win64: UseCompressedOops.java: 'Zero based' missing from stdout/stderr

    Details

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

      Description

      I saw this happening again in JPRT today. It looks similar to JDK-8058369, which had the same error message.
      --------------------------------------------------
      TEST: runtime/CompressedOops/UseCompressedOops.java
      JDK under test: (C:\jprt\T\P1\005933.iklam\testproduct\windows_x64_6.2-fastdebug)
      java version "1.9.0-internal-fastdebug"
      Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20151030005933.iklam.-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20151030005933.iklam.-b00, mixed mode)

      .......

      Command line: [C:\jprt\T\P1\005933.iklam\testproduct\windows_x64_6.2-fastdebug\bin\java.exe -cp C:\jprt\T\P1\005933.iklam\s\hotspot\build\windows-x64\testoutput\JTwork\classes\runtime\CompressedOops;C:\jprt\T\P1\005933.iklam\s\hotspot\test\runtime\CompressedOops;C:\jprt\T\P1\005933.iklam\s\hotspot\build\windows-x64\testoutput\JTwork\classes\testlibrary;C:\jprt\products\P1\jtreg4.1-latest\jtreg\lib\javatest.jar;C:\jprt\products\P1\jtreg4.1-latest\jtreg\lib\jtreg.jar -XX:+UnlockDiagnosticVMOptions -XX:+PrintCompressedOopsMode -Xms32m -XX:+UseLargePages -XX:+UseCompressedOops -Xmx32g -XX:ObjectAlignmentInBytes=16 -XX:HeapBaseMinAddress=64g -version ]
      Command line: [C:\jprt\T\P1\005933.iklam\testproduct\windows_x64_6.2-fastdebug\bin\java.exe -cp C:\jprt\T\P1\005933.iklam\s\hotspot\build\windows-x64\testoutput\JTwork\classes\runtime\CompressedOops;C:\jprt\T\P1\005933.iklam\s\hotspot\test\runtime\CompressedOops;C:\jprt\T\P1\005933.iklam\s\hotspot\build\windows-x64\testoutput\JTwork\classes\testlibrary;C:\jprt\products\P1\jtreg4.1-latest\jtreg\lib\javatest.jar;C:\jprt\products\P1\jtreg4.1-latest\jtreg\lib\jtreg.jar -XX:+UnlockDiagnosticVMOptions -XX:+PrintCompressedOopsMode -Xms32m -XX:+UseLargePages -XX:+UseCompressedOops -Xmx32g -XX:ObjectAlignmentInBytes=16 -version ]
      STDERR:
       stdout: [
      Reserve regular memory without large pages.

      Reserve regular memory without large pages.

      Reserve regular memory without large pages.

      Reserve regular memory without large pages.

      Reserve regular memory without large pages.
      heap address: 0x0000001000800000, size: 32768 MB, Compressed Oops mode: Non-zero disjoint base: 0x0000001000000000, Oop shift amount: 4, no protected page in front of the heap
      Narrow klass base: 0x0000001800800000, Narrow klass shift: 0
      Compressed class space size: 1073741824 Address: 0x0000001800800000 Req Addr: 0x0000001800800000
      ];
       stderr: [java version "1.9.0-internal-fastdebug"
      Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20151030005933.iklam.-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20151030005933.iklam.-b00, mixed mode)
      ]
       exitValue = 0

      java.lang.RuntimeException: 'Zero based' missing from stdout/stderr

      at jdk.test.lib.OutputAnalyzer.shouldContain(OutputAnalyzer.java:134)
      at UseCompressedOops.testCompressedOopsModes(UseCompressedOops.java:124)
      at UseCompressedOops.testCompressedOopsModesGCs(UseCompressedOops.java:49)
      at UseCompressedOops.main(UseCompressedOops.java:41)
      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:520)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
      at java.lang.Thread.run(Thread.java:747)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test


      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Zero based' missing from stdout/stderr
      --------------------------------------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ctornqvi Christian Tornqvist
                Reporter:
                iklam Ioi Lam
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: