< prev index next >
src/hotspot/share/aot/aotCodeHeap.cpp
Print this page
rev 54936 : imported patch 8221734-v3
*** 36,45 ****
--- 36,46 ----
#include "jvmci/jvmciRuntime.hpp"
#include "memory/allocation.inline.hpp"
#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"
#include "runtime/sharedRuntime.hpp"
#include "runtime/vmOperations.hpp"
*** 731,742 ****
}
}
}
}
if (marked > 0) {
! VM_Deoptimize op;
! VMThread::execute(&op);
}
}
void AOTCodeHeap::sweep_dependent_methods(AOTKlassData* klass_data) {
// Make dependent methods non_entrant forever.
--- 732,742 ----
}
}
}
}
if (marked > 0) {
! Deoptimization::deoptimize_all_marked();
}
}
void AOTCodeHeap::sweep_dependent_methods(AOTKlassData* klass_data) {
// Make dependent methods non_entrant forever.
< prev index next >