equal
deleted
inserted
replaced
1209 void CodeCache::make_marked_nmethods_not_entrant() { |
1209 void CodeCache::make_marked_nmethods_not_entrant() { |
1210 assert_locked_or_safepoint(CodeCache_lock); |
1210 assert_locked_or_safepoint(CodeCache_lock); |
1211 CompiledMethodIterator iter; |
1211 CompiledMethodIterator iter; |
1212 while(iter.next_alive()) { |
1212 while(iter.next_alive()) { |
1213 CompiledMethod* nm = iter.method(); |
1213 CompiledMethod* nm = iter.method(); |
1214 if (nm->is_marked_for_deoptimization()) { |
1214 if (nm->is_marked_for_deoptimization() && !nm->is_not_entrant()) { |
1215 nm->make_not_entrant(); |
1215 nm->make_not_entrant(); |
1216 } |
1216 } |
1217 } |
1217 } |
1218 } |
1218 } |
1219 |
1219 |