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

[TESTBUG] runtime/CompressedOops/CompressedClassPointers.java fails with OpenJDK build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b30
    • Verification:
      Not verified

      Backports

        Description

        The test runtime/CompressedOops/CompressedClassPointers.java looks for HotSpot in the output and fails when running with an OpenJDK build:

         stdout: [
        heap address: 0x0000000080000000, size: 7366 MB, zero based Compressed Oops

        Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
        Compressed class space size: 1073741824 Address: 0x000000024c600000 Req Addr: 0x000000024c600000
        ];
         stderr: [HeapBaseMinAddress must be at least 2147483648 (2G) which is greater than value given 1048576
        java version "1.9.0-ea-fastdebug"
        Java(TM) SE Runtime Environment (build 1.9.0-ea-fastdebug-b26)
        OpenJDK 64-Bit Server VM (build 1.9.0-fastdebug-internal-201408142132.ctornqvi.hs-rt1, mixed mode)
        ]
         exitValue = 0

        java.lang.RuntimeException: 'HotSpot' missing from stdout/stderr

        at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:80)
        at CompressedClassPointers.heapBaseMinAddressTest(CompressedClassPointers.java:91)
        at CompressedClassPointers.main(CompressedClassPointers.java:146)
        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:484)
        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: 'HotSpot' missing from stdout/stderr

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: