hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 28501 c9c359a66a15
parent 27709 e6f02d6fee44
child 28650 772aaab2582f
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp	Wed Jan 14 09:54:08 2015 +0300
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp	Mon Jan 12 18:58:49 2015 +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);
   }