Relates :
|
The command should mimic the behavior of the "jmap -clstats" option which uses SA to list all ClassLoaders. It could look something like this: $ jcmd Sleeper GC.classloader_stats 74864: ClassLoader Parent CLData* Classes ChunkSz BlockSz Type 0x0000000000000000 0x0000000000000000 0x00007f927ad0c028 569 393216 358760 <boot classloader> 0x00000007c0037f20 0x00000007c002ebf0 0x00007f927af0fda8 1 2048 512 sun.misc.Launcher$AppClassLoader 0x00000007c002ebf0 0x0000000000000000 0x0000000000000000 0 0 0 sun.misc.Launcher$ExtClassLoader Total = 3 570 395264 359272