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

runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr

    Details

    • Subcomponent:
    • Resolved In Build:
      b25

      Description

      Test runtime/CompressedOops/CompressedClassPointers.java fails in JDK 14-21. Where JDK-8086003 is supposed to be fixed.

      The log:
      stdout: [[0.085s][trace][gc,metaspace] node @0x000001d4e7108090: reserved=1048576.00 KB, committed=0.00 KB ( 0%), used=0.00 KB ( 0%)
      [0.085s][trace][gc,metaspace] [0x000001d48f000000, 0x000001d48f000000, 0x000001d48f000000, 0x000001d4cf000000)
      [0.085s][trace][gc,metaspace] Narrow klass base: 0x000001d48f000000, Narrow klass shift: 0
      [0.086s][trace][gc,metaspace] Compressed class space size: 1073741824 Address: 0x000001d48f000000 Req Addr: 0x0000000100000000
      [0.086s][trace][gc,metaspace] node @0x000001d4e71071b0: reserved=8192.00 KB, committed=0.00 KB ( 0%), used=0.00 KB ( 0%)
      [0.086s][trace][gc,metaspace] [0x000001d4fdce0000, 0x000001d4fdce0000, 0x000001d4fdce0000, 0x000001d4fe4e0000)
      ];
       stderr: [java version "14-ea" 2020-03-17
      Java(TM) SE Runtime Environment (fastdebug build 14-ea+21-927)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 14-ea+21-927, mixed mode)
      ]
       exitValue = 0

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

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:187)
      at CompressedClassPointers.smallHeapTest(CompressedClassPointers.java:52)
      at CompressedClassPointers.main(CompressedClassPointers.java:151)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hseigel Harold Seigel
                Reporter:
                lmesnik Leonid Mesnik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: