mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8219555: compiler/jvmci/compilerToVM/IsMatureTest.java fails with Unexpected isMature state for multiple times invoked method: expected false to equal true
Reviewed-by: kvn
This commit is contained in:
parent
bf9b74d187
commit
1f9ed9059f
9 changed files with 34 additions and 46 deletions
|
@ -184,7 +184,7 @@ class CompilationPolicy : AllStatic {
|
|||
// loop_event checks if a method should be OSR compiled at a different
|
||||
// level.
|
||||
static CompLevel loop_event(const methodHandle& method, CompLevel cur_level, Thread* thread);
|
||||
static void print_counters(const char* prefix, Method* m);
|
||||
static void print_counters(const char* prefix, const Method* m);
|
||||
// Has a method been long around?
|
||||
// We don't remove old methods from the compile queue even if they have
|
||||
// very low activity (see select_task()).
|
||||
|
@ -216,7 +216,7 @@ class CompilationPolicy : AllStatic {
|
|||
static void set_c2_count(int x) { _c2_count = x; }
|
||||
|
||||
enum EventType { CALL, LOOP, COMPILE, REMOVE_FROM_QUEUE, UPDATE_IN_QUEUE, REPROFILE, MAKE_NOT_ENTRANT };
|
||||
static void print_event(EventType type, Method* m, Method* im, int bci, CompLevel level);
|
||||
static void print_event(EventType type, const Method* m, const Method* im, int bci, CompLevel level);
|
||||
// Check if the method can be compiled, change level if necessary
|
||||
static void compile(const methodHandle& mh, int bci, CompLevel level, TRAPS);
|
||||
// Simple methods are as good being compiled with C1 as C2.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue