mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
This commit is contained in:
parent
cd598622cc
commit
b0933034e0
28 changed files with 175 additions and 274 deletions
|
@ -38,7 +38,6 @@
|
|||
#include "memory/universe.hpp"
|
||||
#include "oops/compressedOops.hpp"
|
||||
#include "oops/method.inline.hpp"
|
||||
#include "runtime/deoptimization.hpp"
|
||||
#include "runtime/handles.inline.hpp"
|
||||
#include "runtime/os.hpp"
|
||||
#include "runtime/safepointVerifiers.hpp"
|
||||
|
@ -734,7 +733,8 @@ void AOTCodeHeap::sweep_dependent_methods(int* indexes, int methods_cnt) {
|
|||
}
|
||||
}
|
||||
if (marked > 0) {
|
||||
Deoptimization::deoptimize_all_marked();
|
||||
VM_Deoptimize op;
|
||||
VMThread::execute(&op);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue