I wanted to take the dump of the Permgen of a application server.
I do not want to use -XX:+TraceClassLoading -XX:+TraceClassUnloading
as i do not want to restart the server, Neither i want to use jconsole
.
I there any tool like jmap
(used to heap dump didnt find any option for permgen) to get the permgen so that i can supply only the pid
.
It is not possible to 'dump permgen' as it's done for the heap.
In addition to
jmap -permstat
as others have presented, you can analyze standard heap dump to shed some light on your permanent generation as described in this blog entry: 'The Unknown Generation: Perm'.is going to produce an output like that :
This is not a full dump, but doing that is going to allow you to do some investigation.
I am still looking on how to find more information.