-
Bug
-
Resolution: Fixed
-
P3
-
hs21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2208529 | 7 | Tom Rodriguez | P3 | Closed | Fixed | b137 |
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
...
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
- backported by
-
JDK-2208529 jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue
- Closed
- duplicates
-
JDK-7031618 jmap -histo does not show user loaded classes anymore
- Closed
- relates to
-
JDK-7017732 move static fields into Class to prepare for perm gen removal
- Closed