src/hotspot/share/prims/whitebox.cpp
changeset 49821 02c08e20d66c
parent 49806 2d62570a615c
child 49857 31e07291ae29
--- a/src/hotspot/share/prims/whitebox.cpp	Wed Apr 18 10:03:49 2018 -0700
+++ b/src/hotspot/share/prims/whitebox.cpp	Wed Apr 18 13:37:39 2018 -0400
@@ -933,8 +933,6 @@
   return result;
 WB_END
 
-static AlwaysFalseClosure always_false;
-
 WB_ENTRY(void, WB_ClearMethodState(JNIEnv* env, jobject o, jobject method))
   jmethodID jmid = reflected_method_to_jmid(thread, env, method);
   CHECK_JNI_EXCEPTION(env);
@@ -951,7 +949,7 @@
       mdo->set_arg_modified(i, 0);
     }
     MutexLockerEx mu(mdo->extra_data_lock());
-    mdo->clean_method_data(&always_false);
+    mdo->clean_method_data(/*always_clean*/true);
   }
 
   mh->clear_not_c1_compilable();