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

Test fails on OSX with java.lang.RuntimeException 'Narrow klass base: 0x0000000000000000, Narrow klass shift: 3' missing

    XMLWordPrintable

Details

    • b21
    • os_x

    Backports

      Description

        The following test fails:

        runtime/CompressedOops/CompressedClassPointers.java
         
        stdout: [
        Protected page at the reserved heap base: 0x0000001800000000 / 2097152 bytes

        heap address: 0x0000001800200000, size: 128 MB, Compressed Oops mode: Non-zero disjoint base: 0x0000001800000000, Oop shift amount: 3

        Narrow klass base: 0x0000001808200000, Narrow klass shift: 0
        Compressed class space size: 3221225472 Address: 0x0000001808200000 Req Addr: 0x0000001808200000
        ];
         stderr: [java version "1.9.0-internal-fastdebug"
        Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150605083852.mgerdin.hs-gc-7097567-for-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-fastdebug-20150605083852.mgerdin.hs-gc-7097567-for-b00, mixed mode)
        ]
         exitValue = 0

        java.lang.RuntimeException: 'Narrow klass base: 0x0000000000000000, Narrow klass shift: 3' missing from stdout/stderr

        at jdk.test.lib.OutputAnalyzer.shouldContain(OutputAnalyzer.java:134)
        at CompressedClassPointers.smallHeapTestWith3G(CompressedClassPointers.java:57)
        at CompressedClassPointers.main(CompressedClassPointers.java:144)
        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:502)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Narrow klass base: 0x0000000000000000, Narrow klass shift: 3' missing from stdout/stderr

        Attachments

          Issue Links

            Activity

              People

                coleenp Coleen Phillimore
                olagneau Olivier Lagneau (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: