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

SA: serviceability/sa/TestInstanceKlassSize*.java fails when running in CDS mode

    Details

    • Subcomponent:
    • Resolved In Build:
      b09

      Backports

        Description

        serviceability/sa/TestInstanceKlassSizeForInterface.java fails when running in CDS mode

         stderr: [Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: Invalid bucket id
        at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
        at jdk.hotspot.agent/sun.jvm.hotspot.utilities.BasicHashtable.bucket(BasicHashtable.java:62)
        at jdk.hotspot.agent/sun.jvm.hotspot.memory.Dictionary.contains(Dictionary.java:87)
        at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.isShared(InstanceKlass.java:329)
        at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.hasStoredFingerprint(InstanceKlass.java:313)
        at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.getSize(InstanceKlass.java:287)
        at TestInstanceKlassSizeForInterface.SAInstanceKlassSize(TestInstanceKlassSizeForInterface.java:77)
        at TestInstanceKlassSizeForInterface.main(TestInstanceKlassSizeForInterface.java:174)

        serviceability/sa/TestInstanceKlassSize.java

        stderr: [Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: Invalid bucket id
        at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
        at jdk.hotspot.agent/sun.jvm.hotspot.utilities.BasicHashtable.bucket(BasicHashtable.java:62)
        at jdk.hotspot.agent/sun.jvm.hotspot.memory.Dictionary.contains(Dictionary.java:87)
        at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.isShared(InstanceKlass.java:329)
        at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.hasStoredFingerprint(InstanceKlass.java:313)
        at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.getSize(InstanceKlass.java:287)
        at TestInstanceKlassSize.SAInstanceKlassSize(TestInstanceKlassSize.java:170)
        at TestInstanceKlassSize.main(TestInstanceKlassSize.java:193)
        ]

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jgeorge Jini George (Inactive)
                  Reporter:
                  jiangli Jiangli Zhou
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: