< prev index next >

src/hotspot/share/prims/whitebox.cpp

Print this page
rev 54936 : [mq]: 8221734-v3

*** 820,833 **** VMThread::execute(&op); return op.result(); WB_END WB_ENTRY(void, WB_DeoptimizeAll(JNIEnv* env, jobject o)) - MutexLocker mu(Compile_lock); CodeCache::mark_all_nmethods_for_deoptimization(); ! VM_Deoptimize op; ! VMThread::execute(&op); WB_END WB_ENTRY(jint, WB_DeoptimizeMethod(JNIEnv* env, jobject o, jobject method, jboolean is_osr)) jmethodID jmid = reflected_method_to_jmid(thread, env, method); int result = 0; --- 820,831 ---- VMThread::execute(&op); return op.result(); WB_END WB_ENTRY(void, WB_DeoptimizeAll(JNIEnv* env, jobject o)) CodeCache::mark_all_nmethods_for_deoptimization(); ! Deoptimization::deoptimize_all_marked(); WB_END WB_ENTRY(jint, WB_DeoptimizeMethod(JNIEnv* env, jobject o, jobject method, jboolean is_osr)) jmethodID jmid = reflected_method_to_jmid(thread, env, method); int result = 0;
*** 840,851 **** mh->code()->mark_for_deoptimization(); ++result; } result += CodeCache::mark_for_deoptimization(mh()); if (result > 0) { ! VM_Deoptimize op; ! VMThread::execute(&op); } return result; WB_END WB_ENTRY(jboolean, WB_IsMethodCompiled(JNIEnv* env, jobject o, jobject method, jboolean is_osr)) --- 838,848 ---- mh->code()->mark_for_deoptimization(); ++result; } result += CodeCache::mark_for_deoptimization(mh()); if (result > 0) { ! Deoptimization::deoptimize_all_marked(); } return result; WB_END WB_ENTRY(jboolean, WB_IsMethodCompiled(JNIEnv* env, jobject o, jobject method, jboolean is_osr))
< prev index next >