hotspot/src/share/vm/prims/whitebox.cpp
changeset 38218 f5ba1dea04eb
parent 38133 78b95467b9f1
child 38241 32eab2eb41fd
--- a/hotspot/src/share/vm/prims/whitebox.cpp	Mon Apr 18 11:30:10 2016 +0200
+++ b/hotspot/src/share/vm/prims/whitebox.cpp	Wed Apr 13 14:48:22 2016 +0200
@@ -646,7 +646,7 @@
     return false;
   }
   methodHandle mh(THREAD, method);
-  nmethod* nm = CompileBroker::compile_method(mh, bci, comp_level, mh, mh->invocation_count(), "WhiteBox", THREAD);
+  nmethod* nm = CompileBroker::compile_method(mh, bci, comp_level, mh, mh->invocation_count(), CompileTask::Reason_Whitebox, THREAD);
   MutexLockerEx mu(Compile_lock);
   return (mh->queued_for_compilation() || nm != NULL);
 }