Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8205836 | 11.0.1 | Thomas Stuefe | P4 | Resolved | Fixed | team |
I have a local patch which causes "VM.metaspace", "VM.classloaders", "VM.class_hierarchy" to print out the reflection target of generated core reflection accessor classes. Adding the output to other commands is quite easy.
Example output:
jcmd my_spring_app VM.class_hierarchy
<snip>
| |--jdk.internal.reflect.ConstructorAccessorImpl/null
| | |--jdk.internal.reflect.GeneratedConstructorAccessor18/0x00007f9ee8350c10 (invokes: org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorRegistrar::<init> ()V)
| | |--jdk.internal.reflect.GeneratedConstructorAccessor17/0x00007f9ee8349c00 (invokes: org/springframework/boot/context/properties/EnableConfigurationPropertiesImportSelector$ConfigurationPropertiesBeanRegistrar::<init> ()V)
| | |--jdk.internal.reflect.GeneratedConstructorAccessor16/0x00007f9ee83508e0 (invokes: org/springframework/boot/context/properties/EnableConfigurationPropertiesImportSelector::<init> ()V)
| | |--jdk.internal.reflect.GeneratedConstructorAccessor15/0x00007f9ee8347d30 (invokes: org/springframework/boot/autoconfigure/condition/OnBeanCondition::<init> ()V)
| | |--jdk.internal.reflect.DelegatingConstructorAccessorImpl/null
| | |--jdk.internal.reflect.NativeConstructorAccessorImpl/null
| | |--jdk.internal.reflect.GeneratedConstructorAccessor22/0x00007f9ee847b3f0 (invokes: com/sun/proxy/$Proxy36::<init> (Ljava/lang/reflect/InvocationHandler;)V)
| | |--jdk.internal.reflect.GeneratedConstructorAccessor1/0x00007f9f7881d9d0 (invokes: java/lang/management/ManagementPermission::<init> (Ljava/lang/String;)V)
<snip>
| |--jdk.internal.reflect.MethodAccessorImpl/null
| | |--jdk.internal.reflect.GeneratedMethodAccessor23/0x00007f9ec8329b60 (invokes: org/apache/tomcat/util/modeler/AttributeInfo::setIs (Z)V)
| | |--jdk.internal.reflect.GeneratedMethodAccessor22/0x00007f9ee831bc70 (invokes: org/springframework/boot/autoconfigure/SpringBootApplication::exclude ()[Ljava/lang/Class;)
- backported by
-
JDK-8205836 VM.{metaspace|classloaders|classhierarchy...} jcmd should show invocation targets for Generated{Method|Constructor}AccessorImpl classes
- Resolved
- relates to
-
JDK-8272065 jcmd cannot rely on the old core reflection implementation which will be changed after JEP 416
- Resolved
-
JDK-8203455 jcmd: VM.metaspace: print loader name for anonymous CLDs.
- Resolved
-
JDK-8209899 [lworld] dcmd tests crash with "Unexpected constant pool layout"
- Resolved
-
JDK-8198553 jcmd: separate Metaspace statistics from NMT
- Resolved
-
JDK-8201572 Improve Metaspace reporting
- Resolved
-
JDK-8203219 VM.metaspace jcmd should optionally show loaded classes for loaders
- Resolved
-
JDK-8210510 JCMD's dependency on hardcoded Constant Pool indexes should be eliminated
- Closed
-
JDK-8203849 DelegatingClassLoader name could be used to indicate reflected class
- Closed