src/hotspot/share/memory/heapInspection.cpp
changeset 50572 6d4332f746ad
parent 49824 e242740a92b8
child 51329 9c68699bebe5
equal deleted inserted replaced
50571:80945f661b80 50572:6d4332f746ad
    28 #include "classfile/systemDictionary.hpp"
    28 #include "classfile/systemDictionary.hpp"
    29 #include "gc/shared/collectedHeap.hpp"
    29 #include "gc/shared/collectedHeap.hpp"
    30 #include "memory/heapInspection.hpp"
    30 #include "memory/heapInspection.hpp"
    31 #include "memory/resourceArea.hpp"
    31 #include "memory/resourceArea.hpp"
    32 #include "oops/oop.inline.hpp"
    32 #include "oops/oop.inline.hpp"
       
    33 #include "oops/reflectionAccessorImplKlassHelper.hpp"
    33 #include "runtime/os.hpp"
    34 #include "runtime/os.hpp"
    34 #include "utilities/globalDefinitions.hpp"
    35 #include "utilities/globalDefinitions.hpp"
    35 #include "utilities/macros.hpp"
    36 #include "utilities/macros.hpp"
    36 #include "utilities/stack.inline.hpp"
    37 #include "utilities/stack.inline.hpp"
    37 
    38 
   487 
   488 
   488   // Print the class name, its unique ClassLoader identifer, and if it is an interface.
   489   // Print the class name, its unique ClassLoader identifer, and if it is an interface.
   489   print_classname(st, klass);
   490   print_classname(st, klass);
   490   if (klass->is_interface()) {
   491   if (klass->is_interface()) {
   491     st->print(" (intf)");
   492     st->print(" (intf)");
       
   493   }
       
   494   // Special treatment for generated core reflection accessor classes: print invocation target.
       
   495   if (ReflectionAccessorImplKlassHelper::is_generated_accessor(klass)) {
       
   496     st->print(" (invokes: ");
       
   497     ReflectionAccessorImplKlassHelper::print_invocation_target(st, klass);
       
   498     st->print(")");
   492   }
   499   }
   493   st->print("\n");
   500   st->print("\n");
   494 
   501 
   495   // Print any interfaces the class has.
   502   // Print any interfaces the class has.
   496   if (print_interfaces) {
   503   if (print_interfaces) {