About Heap Profiling

John Coomes John.Coomes at sun.com
Thu Mar 11 13:12:44 PST 2010


ercan canlier (ercan.canlier at gmail.com) wrote:
> Hi,
> 
> I am having problem when i try to run jmap heap profile command in openjdk.
> 
> The output of java -version is like below in my system.
> 
> [ercanlier at ercanlier ~]$ java -version
> java version "1.6.0_17"
> OpenJDK Runtime Environment (IcedTea6 1.7) (fedora-34.b17.fc12-i386)
> OpenJDK Server VM (build 14.0-b16, mixed mode)
> 
> After running jps on console i try to profile heap usage of my application
> but stucked with the problem Could not find symbol
> "gHotSpotVMTypeEntryTypeNameOffset"
> ...

This is sun/oracle bug 6932270, which was recently fixed.  Not sure
when it'll make it into an update.  See the following for more info:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6932270
https://bugzilla.redhat.com/show_bug.cgi?id=541548

You can download and install the Sun JDK to get a working version
right away; go to http://java.sun.com/javase/ and click on the
downloads tab.

-John



More information about the hotspot-gc-use mailing list