8 Replies Latest reply on Dec 15, 2009 3:08 PM by peterj

    Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset"

    argonist

      Hey,

       

      i want to profile with visualvm on JBoss 4.2, but i have problem to profile with jmap and visualvm  on JBoss.

       

      jmap:

       

      jmap 19805
      
      Attaching to process ID 19805, please wait...
      sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (libjvm.so, libjvm_g.so, gamma_g)
           at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:390)
           at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:371)
           at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
           at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
           at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:568)
           at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
           at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
           at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
           at sun.jvm.hotspot.tools.HeapSummary.main(HeapSummary.java:39)
           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:616)
           at sun.tools.jmap.JMap.runTool(JMap.java:196)
           at sun.tools.jmap.JMap.main(JMap.java:128)
      Debugger attached successfully.
      sun.jvm.hotspot.tools.HeapSummary requires a java VM process/core!
      
      

       

       

      visualvm:

      see attach Files

       

       

      Have you any ideas?

       

      Manu