--- old/src/share/vm/compiler/compileBroker.cpp 2014-12-30 12:03:22.065947912 +0300 +++ new/src/share/vm/compiler/compileBroker.cpp 2014-12-30 12:03:21.925946497 +0300 @@ -252,7 +252,7 @@ } else { task = new CompileTask(); DEBUG_ONLY(_num_allocated_tasks++;) - assert (_num_allocated_tasks < 10000, "Leaking compilation tasks?"); + assert (WhiteBoxAPI || _num_allocated_tasks < 10000, "Leaking compilation tasks?"); task->set_next(NULL); task->set_is_free(true); }