JMAP tool broken since openjdk-7 version 7u92?
I ran across this bug report (https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1548434) and it seems in Wheezy/Jessie it's likewise. The last functional version I just so happened to hold onto is 7u79-2.5.5-1~deb7u1.
The following are confirmed to throw an Exception
* 7u111-2.6.7-2~deb8
* 7u121-2.6.8-1~deb7u1
* 7u95-2.6.4-1~deb7u1
Here is an example run with 7u121 - http://pastebin.com/tzRk7xTH
With 7u95-2.6.4-1~deb7u1 I get:
libsaproc DEBUG: thread_db : pthread 877639424 (lwp 5278)
libsaproc DEBUG: lookup failed for symbol '__vt_10JavaThread' in obj 'libjvm.so'
libsaproc DEBUG: lookup failed for symbol '__vt_10JavaThread' in obj 'libjvm_g.so'
libsaproc DEBUG: lookup failed for symbol '__vt_10JavaThread' in obj 'libjvm.so'
libsaproc DEBUG: lookup failed for symbol '__vt_10JavaThread' in obj 'libjvm_g.so'
libsaproc DEBUG: lookup failed for symbol 'gHotSpotVMTypes' in obj 'libjvm.so'
libsaproc DEBUG: lookup failed for symbol 'gHotSpotVMTypes' in obj 'libjvm_g.so'
libsaproc DEBUG: lookup failed for symbol 'gHotSpotVMTypes' in obj 'gamma_g'
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypes" in any of the known library names (libjvm.so, libjvm_g.so, gamma_g)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:585)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:150)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:569)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:493)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:331)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.HeapSummary.main(HeapSummary.java:40)
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:606)
at sun.tools.jmap.JMap.runTool(JMap.java:197)
at sun.tools.jmap.JMap.main(JMap.java:128)
Debugger attached successfully.
________________________________
If you wish to view the CPA Global group email disclaimer, please click here<https://www.cpaglobal.com/Privacy/CPAGlobalEmailDisclaimer/>
________________________________
Reply to: