--- 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);
}