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

[TESTBUG] runtime/CompressedOops/CompressedClassPointers.java fails on OSX with java.lang.RuntimeException: 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:

      Description

      Most likely a result of the disjoint base change in JDK-8064457

      Log:

      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: 1073741824 Address: 0x0000001808200000 Req Addr: 0x0000001808200000
      ];
       stderr: [java version "1.9.0-internal-fastdebug"
      Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150211165608.danielfuchs.hs-rt-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-fastdebug-20150211165608.danielfuchs.hs-rt-b00, mixed mode)
      ]
       exitValue = 0

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

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:134)
      at CompressedClassPointers.smallHeapTest(CompressedClassPointers.java:43)
      at CompressedClassPointers.main(CompressedClassPointers.java:141)
      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: