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

CompressedClassPointers.java fails on macos-aarch64

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      aarch64
    • OS:
      os_x

      Description

      Test case : runtime/CompressedOops/CompressedClassPointers.java
      OS: macos-aarch64
      Regression: NO, macos-aarch64 support newly added for 11u.

      Exception:

              CompressedClassPointers
      ----------System.err:(29/1960)----------
       stdout: [[0.007s][trace][gc,metaspace] node @0x000000014213dce0: reserved=1048576.00 KB, committed=0.00 KB ( 0%), used=0.00 KB ( 0%)
      [0.007s][trace][gc,metaspace] [0x0000000800000000, 0x0000000800000000, 0x0000000800000000, 0x0000000840000000)
      [0.007s][trace][gc,metaspace] Narrow klass base: 0x0000000800000000, Narrow klass shift: 0
      [0.007s][trace][gc,metaspace] Compressed class space size: 1073741824 Address: 0x0000000800000000 Req Addr: 0x00000007c0000000
      [0.007s][trace][gc,metaspace] node @0x0000000140e3c1a0: reserved=8192.00 KB, committed=0.00 KB ( 0%), used=0.00 KB ( 0%)
      [0.007s][trace][gc,metaspace] [0x0000000122564000, 0x0000000122564000, 0x0000000122564000, 0x0000000122d64000)
      ];
       stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Shared spaces are not supported in this VM
      java version "11.0.16-ea" 2022-07-19 LTS
      Java(TM) SE Runtime Environment 18.9 (fastdebug build 11.0.16-ea+3-LTS-154)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (fastdebug build 11.0.16-ea+3-LTS-154, mixed mode)
      ]
       exitValue = 0

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

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:164)
      at CompressedClassPointers.smallHeapTest(CompressedClassPointers.java:52)
      at CompressedClassPointers.main(CompressedClassPointers.java:150)
      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:566)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:834)

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

        Attachments

          Activity

            People

            Assignee:
            pchawdhary PAWAN CHAWDHARY
            Reporter:
            vaibhav Vaibhav Choudhary (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: