-
Enhancement
-
Resolution: Fixed
-
P2
-
9
-
b22
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8196252 | 8u191 | David Buck | P2 | Resolved | Fixed | b01 |
JDK-8201046 | 8u181 | Unassigned | P2 | Resolved | Fixed | b01 |
JDK-8194155 | 8u172 | David Buck | P2 | Closed | Fixed | b02 |
JDK-8203091 | emb-8u181 | David Buck | P2 | Resolved | Fixed | master |
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
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
- backported by
-
JDK-8196252 Add Diagnostic Command to list all ClassLoaders
-
- Resolved
-
-
JDK-8201046 Add Diagnostic Command to list all ClassLoaders
-
- Resolved
-
-
JDK-8203091 Add Diagnostic Command to list all ClassLoaders
-
- Resolved
-
-
JDK-8194155 Add Diagnostic Command to list all ClassLoaders
-
- Closed
-
- relates to
-
JDK-8068665 GC.class_stats and VM.classloader_stats should use the same identifier when printing ClassLoaders
-
- Closed
-