comparison 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
comparison
equal deleted inserted replaced
9149:c60f69931e1a 9150:b8b081e53312
338 static void verify() PRODUCT_RETURN; 338 static void verify() PRODUCT_RETURN;
339 339
340 // Force compilation of all methods in all classes in bootstrap class path (stress test) 340 // Force compilation of all methods in all classes in bootstrap class path (stress test)
341 #ifndef PRODUCT 341 #ifndef PRODUCT
342 private: 342 private:
343 static int _compile_the_world_counter; 343 static int _compile_the_world_class_counter;
344 static int _compile_the_world_method_counter;
344 public: 345 public:
345 static void compile_the_world(); 346 static void compile_the_world();
346 static void compile_the_world_in(char* name, Handle loader, TRAPS); 347 static void compile_the_world_in(char* name, Handle loader, TRAPS);
347 static int compile_the_world_counter() { return _compile_the_world_counter; } 348 static int compile_the_world_counter() { return _compile_the_world_class_counter; }
348 #endif //PRODUCT 349 #endif //PRODUCT
349 }; 350 };
350 351
351 // PerfClassTraceTime is used to measure time for class loading related events. 352 // PerfClassTraceTime is used to measure time for class loading related events.
352 // This class tracks cumulative time and exclusive time for specific event types. 353 // This class tracks cumulative time and exclusive time for specific event types.