Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6822407
Votes 0
Synopsis heapOopSize lookup is incorrect in Serviceability Agent.
Category hotspot:tools
Reported Against
Release Fixed hs15(b05), 7(b54) (Bug ID:2175680) , 6u18(b01) (Bug ID:2180575)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs 6825642 , 6829234
Submit Date 26-MAR-2009
Description
heapOopSize is looked up HotspotTypeDataBase.java here:

private void readVMIntConstants() {
    String  customer  = "heapOopSize"; // global int constant and value is initialized at runtime.
    addIntConstant( customer , (int)lookupInProcess( customer ).getCIntegerAt(0, 4, false));
}

This is causing SA failures on some Windows systems. 

sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find  customer  "heapOopSize" in any of the known library names (jvm.dll, jvm_g.dll)
      at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:390)
      at sun.jvm.hotspot.HotSpotTypeDataBase.readVMIntConstants(HotSpotTypeDataBase.java:310)
      at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:88)
      at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:565)
      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.PermStat.main(PermStat.java:46)
      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:623)
      at sun.tools.jmap.JMap.runTool(JMap.java:197)
      at sun.tools.jmap.JMap.main(JMap.java:128)
Debugger attached successfully.
sun.jvm.hotspot.tools.PermStat requires a java VM process/core!
Posted Date : 2009-03-26 05:49:59.0
Work Around
N/A
Evaluation
http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/f30ba3b36599
Posted Date : 2009-03-27 23:33:32.0
Comments
  
  Include a link with my name & email   

Submitted On 14-AUG-2009
Habutre
I got this error perform a jmap command under jre 1.6.0_14. Updating to the release 1.6.0.16 this problem persist



PLEASE NOTE: JDK6 is formerly known as Project Mustang