< prev index next >

src/hotspot/share/classfile/klassFactory.cpp

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

@@ -191,10 +191,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 >