mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8203883: Remove State from InvocationCounters
Reviewed-by: redestad, thartmann
This commit is contained in:
parent
b4b8ead78b
commit
18c01206d0
8 changed files with 80 additions and 197 deletions
|
@ -1001,7 +1001,6 @@ void Method::set_not_compilable(const char* reason, int comp_level, bool report)
|
|||
if (is_c2_compile(comp_level))
|
||||
set_not_c2_compilable();
|
||||
}
|
||||
CompilationPolicy::policy()->disable_compilation(this);
|
||||
assert(!CompilationPolicy::can_be_compiled(methodHandle(Thread::current(), this), comp_level), "sanity check");
|
||||
}
|
||||
|
||||
|
@ -1028,7 +1027,6 @@ void Method::set_not_osr_compilable(const char* reason, int comp_level, bool rep
|
|||
if (is_c2_compile(comp_level))
|
||||
set_not_c2_osr_compilable();
|
||||
}
|
||||
CompilationPolicy::policy()->disable_compilation(this);
|
||||
assert(!CompilationPolicy::can_be_osr_compiled(methodHandle(Thread::current(), this), comp_level), "sanity check");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue