gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with RuntimeException: field "_resolved_references" not found in type ConstantPool

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc

      The test fails with a RuntimeException:

      Caused by: java.lang.RuntimeException: field "_resolved_references" not found in type ConstantPool
      at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:183)
      at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:190)
      at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:194)
      at sun.jvm.hotspot.types.basic.BasicType.getAddressField(BasicType.java:282)
      at sun.jvm.hotspot.oops.ConstantPool.initialize(ConstantPool.java:87)
      at sun.jvm.hotspot.oops.ConstantPool.access$000(ConstantPool.java:37)
      at sun.jvm.hotspot.oops.ConstantPool$1.update(ConstantPool.java:75)
      at sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver(VM.java:406)
      at sun.jvm.hotspot.oops.ConstantPool.<clinit>(ConstantPool.java:73)
      ... 27 more

      Looks like this is caused by the fix for JDK-8059340.

            Assignee:
            Vladimir Ivanov
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: