Description
jcmd VM.metaspace and VM.classloaders and VM.class_hierarchy implementation relies on the internals of the old core reflection implementation to find out the class name of the target reflected member.
It will no longer work with the new core reflection implementation by JEP 416.
test/hotspot/jtreg/serviceability/dcmd/vm/ShowReflectionTargetTest.java is temporarily changed to run with the old core reflection. This test should be changed to take out ` -Djdk.reflect.useDirectMethodHandle=false` to run with the new implementation.
It will no longer work with the new core reflection implementation by JEP 416.
test/hotspot/jtreg/serviceability/dcmd/vm/ShowReflectionTargetTest.java is temporarily changed to run with the old core reflection. This test should be changed to take out ` -Djdk.reflect.useDirectMethodHandle=false` to run with the new implementation.
Attachments
Issue Links
- duplicates
-
JDK-8210510 JCMD's dependency on hardcoded Constant Pool indexes should be eliminated
- Closed
- relates to
-
JDK-8210510 JCMD's dependency on hardcoded Constant Pool indexes should be eliminated
- Closed
-
JDK-8271820 Implementation of JEP 416: Reimplement Core Reflection with Method Handle
- Resolved
-
JDK-8203343 VM.{metaspace|classloaders|classhierarchy...} jcmd should show invocation targets for Generated{Method|Constructor}AccessorImpl classes
- Resolved
(1 links to)