< prev index next >
src/hotspot/share/prims/jvmtiEventController.cpp
Print this page
rev 56205 : imported patch 8226705-v1
*** 30,39 ****
--- 30,40 ----
#include "prims/jvmtiEventController.hpp"
#include "prims/jvmtiEventController.inline.hpp"
#include "prims/jvmtiExport.hpp"
#include "prims/jvmtiImpl.hpp"
#include "prims/jvmtiThreadState.inline.hpp"
+ #include "runtime/deoptimization.hpp"
#include "runtime/frame.hpp"
#include "runtime/thread.inline.hpp"
#include "runtime/threadSMR.hpp"
#include "runtime/vframe.hpp"
#include "runtime/vframe_hp.hpp"
*** 237,248 ****
((compiledVFrame*) vf)->code()->mark_for_deoptimization();
++num_marked;
}
}
if (num_marked > 0) {
! VM_Deoptimize op;
! VMThread::execute(&op);
}
}
}
--- 238,248 ----
((compiledVFrame*) vf)->code()->mark_for_deoptimization();
++num_marked;
}
}
if (num_marked > 0) {
! Deoptimization::deoptimize_all_marked();
}
}
}
< prev index next >