src/share/vm/oops/instanceKlass.hpp

Print this page
rev 9245 : [mq]: class_loading_log

@@ -25,10 +25,11 @@
 #ifndef SHARE_VM_OOPS_INSTANCEKLASS_HPP
 #define SHARE_VM_OOPS_INSTANCEKLASS_HPP
 
 #include "classfile/classLoaderData.hpp"
 #include "gc/shared/specialized_oop_closures.hpp"
+#include "logging/logLevel.hpp"
 #include "memory/referenceType.hpp"
 #include "oops/annotations.hpp"
 #include "oops/constMethod.hpp"
 #include "oops/fieldInfo.hpp"
 #include "oops/instanceOop.hpp"

@@ -1260,10 +1261,13 @@
 
   // Verification
   void verify_on(outputStream* st);
 
   void oop_verify_on(oop obj, outputStream* st);
+
+  // Logging
+  void print_loading_log(LogLevel::type type, ClassLoaderData* loader_data, ClassFileStream* cfs) const;
 };
 
 inline Method* InstanceKlass::method_at_vtable(int index)  {
 #ifndef PRODUCT
   assert(index >= 0, "valid vtable index");