< prev index next >
src/hotspot/share/aot/aotCodeHeap.cpp
Print this page
rev 54697 : imported patch 8221734-v2-merge
rev 54698 : imported patch 8221734-v2
*** 34,43 ****
--- 34,44 ----
#include "interpreter/abstractInterpreter.hpp"
#include "jvmci/compilerRuntime.hpp"
#include "jvmci/jvmciRuntime.hpp"
#include "memory/allocation.inline.hpp"
#include "oops/method.inline.hpp"
+ #include "runtime/deoptimization.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/os.hpp"
#include "runtime/safepointVerifiers.hpp"
#include "runtime/sharedRuntime.hpp"
#include "runtime/vmOperations.hpp"
*** 729,740 ****
}
}
}
}
if (marked > 0) {
! VM_Deoptimize op;
! VMThread::execute(&op);
}
}
void AOTCodeHeap::sweep_dependent_methods(AOTKlassData* klass_data) {
// Make dependent methods non_entrant forever.
--- 730,740 ----
}
}
}
}
if (marked > 0) {
! Deoptimization::deoptimize_all_marked();
}
}
void AOTCodeHeap::sweep_dependent_methods(AOTKlassData* klass_data) {
// Make dependent methods non_entrant forever.
< prev index next >