src/share/vm/compiler/compileBroker.cpp

Print this page

        

@@ -250,11 +250,11 @@
     _task_free_list = task->next();
     task->set_next(NULL);
   } 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);
   }
   assert(task->is_free(), "Task must be free.");
   task->set_is_free(false);