mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8226705: [REDO] Deoptimize with handshakes
Reviewed-by: eosterlund, dcubed, dlong, pchilanomate
This commit is contained in:
parent
336b741b1c
commit
35a9f6864a
33 changed files with 398 additions and 326 deletions
|
@ -445,6 +445,7 @@ void TieredThresholdPolicy::compile(const methodHandle& mh, int bci, CompLevel l
|
|||
if (mh->has_compiled_code()) {
|
||||
mh->code()->make_not_entrant();
|
||||
}
|
||||
MutexLocker pl(CompiledMethod_lock, Mutex::_no_safepoint_check_flag);
|
||||
Method::set_code(mh, mh->aot_code());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue