Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8205222 | 11.0.1 | Thomas Stuefe | P4 | Resolved | Fixed | team |
It would be helpful, as a complement to VM.classloader_stats, to have a command to print out the class loader hierarchy and class loader details.
In addition, this command should optionally print loaded classes (both non-anonymous and anonymous).
I have a working prototype of such a command which I would like to contribute.
Output for a very primitive example:
55223:
+--- <bootstrap>
|
+--- platform (instance of jdk.internal.loader.ClassLoaders$PlatformClassLoader)
|
+--- app (instance of jdk.internal.loader.ClassLoaders$AppClassLoader)
More complex examples see attached files.
In addition, this command should optionally print loaded classes (both non-anonymous and anonymous).
I have a working prototype of such a command which I would like to contribute.
Output for a very primitive example:
55223:
+--- <bootstrap>
|
+--- platform (instance of jdk.internal.loader.ClassLoaders$PlatformClassLoader)
|
+--- app (instance of jdk.internal.loader.ClassLoaders$AppClassLoader)
More complex examples see attached files.
- backported by
-
JDK-8205222 Add jcmd "VM.classloaders" command to print out class loader hierarchy, details
-
- Resolved
-
- relates to
-
JDK-8276265 jcmd man page is outdated
-
- Resolved
-
-
JDK-8204349 Reuse tree printing code introduced with JDK-8203682 (VM.classloaders) for class hierarchy etc
-
- Closed
-