8011933: add number of classes, methods and time spent to CompileTheWorld

Reviewed-by: jrose, kvn
This commit is contained in:
Christian Thalinger 2013-04-12 12:22:59 -07:00
parent 6aa1ba2f50
commit 01e43be718
2 changed files with 21 additions and 12 deletions

View file

@ -340,11 +340,12 @@ class ClassLoader: AllStatic {
// 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
};