--- old/src/share/vm/prims/whitebox.cpp 2016-04-13 14:46:15.237012651 +0200 +++ new/src/share/vm/prims/whitebox.cpp 2016-04-13 14:46:15.165012655 +0200 @@ -641,7 +641,8 @@ bool WhiteBox::compile_method(Method* method, int comp_level, int bci, Thread* THREAD) { // Screen for unavailable/bad comp level or null method - if (method == NULL || CompileBroker::compiler(comp_level) == NULL) { + if (method == NULL || comp_level > TieredStopAtLevel || + CompileBroker::compiler(comp_level) == NULL) { return false; } methodHandle mh(THREAD, method);