< prev index next >

src/hotspot/share/memory/heapInspection.cpp

Print this page
rev 50565 : [mq]: 8203343-VM.metaspace-show-reflection-invocation-targets

*** 28,37 **** --- 28,38 ---- #include "classfile/systemDictionary.hpp" #include "gc/shared/collectedHeap.hpp" #include "memory/heapInspection.hpp" #include "memory/resourceArea.hpp" #include "oops/oop.inline.hpp" + #include "oops/reflectionAccessorImplKlassHelper.hpp" #include "runtime/os.hpp" #include "utilities/globalDefinitions.hpp" #include "utilities/macros.hpp" #include "utilities/stack.inline.hpp"
*** 488,497 **** --- 489,504 ---- // Print the class name, its unique ClassLoader identifer, and if it is an interface. print_classname(st, klass); if (klass->is_interface()) { st->print(" (intf)"); } + // Special treatment for generated core reflection accessor classes: print invocation target. + if (ReflectionAccessorImplKlassHelper::is_generated_accessor(klass)) { + st->print(" (invokes: "); + ReflectionAccessorImplKlassHelper::print_invocation_target(st, klass); + st->print(")"); + } st->print("\n"); // Print any interfaces the class has. if (print_interfaces) { Array<Klass*>* local_intfs = klass->local_interfaces();
< prev index next >