# HG changeset patch # User twisti # Date 1447879581 36000 # Node ID bef14f844171b83eac8754c18048db3038b8abcc # Parent 72152eea3d39739c15bd7560179b8ddc4c788487 8143151: [JVMCI] assertion for allocation of "too many" CompileTasks must take JVMCI into account Reviewed-by: iignatyev, twisti Contributed-by: Doug Simon diff -r 72152eea3d39 -r bef14f844171 hotspot/src/share/vm/compiler/compileTask.cpp --- a/hotspot/src/share/vm/compiler/compileTask.cpp Wed Nov 18 09:43:31 2015 -1000 +++ b/hotspot/src/share/vm/compiler/compileTask.cpp Wed Nov 18 10:46:21 2015 -1000 @@ -47,7 +47,7 @@ } else { task = new CompileTask(); DEBUG_ONLY(_num_allocated_tasks++;) - assert (WhiteBoxAPI || _num_allocated_tasks < 10000, "Leaking compilation tasks?"); + assert (WhiteBoxAPI || JVMCI_ONLY(UseJVMCICompiler ||) _num_allocated_tasks < 10000, "Leaking compilation tasks?"); task->set_next(NULL); task->set_is_free(true); }