hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 28501 c9c359a66a15
parent 27709 e6f02d6fee44
child 28650 772aaab2582f
equal deleted inserted replaced
28500:8cab8bd43b39 28501:c9c359a66a15
   250     _task_free_list = task->next();
   250     _task_free_list = task->next();
   251     task->set_next(NULL);
   251     task->set_next(NULL);
   252   } else {
   252   } else {
   253     task = new CompileTask();
   253     task = new CompileTask();
   254     DEBUG_ONLY(_num_allocated_tasks++;)
   254     DEBUG_ONLY(_num_allocated_tasks++;)
   255     assert (_num_allocated_tasks < 10000, "Leaking compilation tasks?");
   255     assert (WhiteBoxAPI || _num_allocated_tasks < 10000, "Leaking compilation tasks?");
   256     task->set_next(NULL);
   256     task->set_next(NULL);
   257     task->set_is_free(true);
   257     task->set_is_free(true);
   258   }
   258   }
   259   assert(task->is_free(), "Task must be free.");
   259   assert(task->is_free(), "Task must be free.");
   260   task->set_is_free(false);
   260   task->set_is_free(false);