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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: