< prev index next >

src/hotspot/share/classfile/klassFactory.cpp

Print this page
rev 50464 : Thread Dump Extension (memory allocation)

@@ -195,10 +195,13 @@
 
   JvmtiCachedClassFileData* cached_class_file = NULL;
 
   ClassFileStream* old_stream = stream;
 
+  // increment counter
+  THREAD->statistic_info().incr_define_class_count();
+
   // Skip this processing for VM anonymous classes
   if (host_klass == NULL) {
     stream = check_class_file_load_hook(stream,
                                         name,
                                         loader_data,
< prev index next >