mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8011933: add number of classes, methods and time spent to CompileTheWorld
Reviewed-by: jrose, kvn
This commit is contained in:
parent
6aa1ba2f50
commit
01e43be718
2 changed files with 21 additions and 12 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue