mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8173338: C2: continuous CallSite relinkage eventually disables compilation for a method
Reviewed-by: jrose, dlong, kvn
This commit is contained in:
parent
81e25c58fb
commit
95ff3ccdb4
4 changed files with 19 additions and 3 deletions
|
@ -1211,7 +1211,7 @@ void CodeCache::make_marked_nmethods_not_entrant() {
|
|||
CompiledMethodIterator iter;
|
||||
while(iter.next_alive()) {
|
||||
CompiledMethod* nm = iter.method();
|
||||
if (nm->is_marked_for_deoptimization()) {
|
||||
if (nm->is_marked_for_deoptimization() && !nm->is_not_entrant()) {
|
||||
nm->make_not_entrant();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue