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

jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue

XMLWordPrintable

    • b06
    • b07
    • generic
    • generic
    • Verified

        jmap -permstat and jmap -finalizerinfo fail with exception starting HS 21 b06:
        ...
        please wait.. computing liveness....Exception in thread "main" java.lang.reflect.InvocationTargetException
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:613)
                at sun.tools.jmap.JMap.runTool(JMap.java:197)
                at sun.tools.jmap.JMap.main(JMap.java:128)
        Caused by: java.lang.InternalError
                at sun.jvm.hotspot.oops.OopField.getValue(OopField.java:45)
                at sun.jvm.hotspot.utilities.ReversePtrsAnalysis$2.doOop(ReversePtrsAnalysis.java:244)
                at sun.jvm.hotspot.oops.InstanceKlass.visitField(InstanceKlass.java:747)
                at sun.jvm.hotspot.oops.InstanceKlass.iterateFields(InstanceKlass.java:471)
                at sun.jvm.hotspot.oops.Oop.iterate(Oop.java:167)
                at sun.jvm.hotspot.utilities.ReversePtrsAnalysis.markAndTraverse(ReversePtrsAnalysis.java:241)
                at sun.jvm.hotspot.utilities.ReversePtrsAnalysis.access$200(ReversePtrsAnalysis.java:43)
                at sun.jvm.hotspot.utilities.ReversePtrsAnalysis$RootVisitor.visitAddress(ReversePtrsAnalysis.java:282)
                at sun.jvm.hotspot.runtime.JNIHandleBlock.oopsDo(JNIHandleBlock.java:85)
                at sun.jvm.hotspot.utilities.ReversePtrsAnalysis.doJNIHandleBlock(ReversePtrsAnalysis.java:306)
                at sun.jvm.hotspot.utilities.ReversePtrsAnalysis.run(ReversePtrsAnalysis.java:110)
                at sun.jvm.hotspot.tools.PermStat.printClassLoaderStatistics(PermStat.java:174)
                at sun.jvm.hotspot.tools.PermStat.run(PermStat.java:67)
                at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
                at sun.jvm.hotspot.tools.PermStat.main(PermStat.java:46)
                ... 6 more

              never Tom Rodriguez
              nhaustov Nicolay Haustov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: