diff src/share/vm/classfile/classLoader.hpp @ 9150:b8b081e53312

8011933: add number of classes, methods and time spent to CompileTheWorld Reviewed-by: jrose, kvn
author twisti
date Fri, 12 Apr 2013 12:22:59 -0700
parents b9a9ed0f8eeb
children 43223d3f5dcd 7e7dd25666da
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoader.hpp	Thu Apr 11 21:54:46 2013 -0700
+++ b/src/share/vm/classfile/classLoader.hpp	Fri Apr 12 12:22:59 2013 -0700
@@ -340,11 +340,12 @@
   // Force compilation of all methods in all classes in bootstrap class path (stress test)
 #ifndef PRODUCT
  private:
-  static int _compile_the_world_counter;
+  static int _compile_the_world_class_counter;
+  static int _compile_the_world_method_counter;
  public:
   static void compile_the_world();
   static void compile_the_world_in(char* name, Handle loader, TRAPS);
-  static int  compile_the_world_counter() { return _compile_the_world_counter; }
+  static int  compile_the_world_counter() { return _compile_the_world_class_counter; }
 #endif //PRODUCT
 };