src/hotspot/share/classfile/klassFactory.cpp
changeset 50785 d1b24f2ceca5
parent 50113 caf115bb98ad
child 51444 3e5d28e6de32
--- a/src/hotspot/share/classfile/klassFactory.cpp	Tue Jun 26 08:13:02 2018 +0100
+++ b/src/hotspot/share/classfile/klassFactory.cpp	Mon Jun 25 16:00:56 2018 +0200
@@ -197,6 +197,9 @@
 
   ClassFileStream* old_stream = stream;
 
+  // increment counter
+  THREAD->statistical_info().incr_define_class_count();
+
   // Skip this processing for VM anonymous classes
   if (host_klass == NULL) {
     stream = check_class_file_load_hook(stream,