mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
8046286: assert: Do not add task if compilation is turned off forever
Remove the unnecessary and missleading assert Reviewed-by: iveresov
This commit is contained in:
parent
da1c36533e
commit
43d50245b7
1 changed files with 1 additions and 2 deletions
|
@ -589,11 +589,10 @@ void CompileTask::log_task_done(CompileLog* log) {
|
|||
|
||||
|
||||
/**
|
||||
* Add a CompileTask to a CompileQueue
|
||||
* Add a CompileTask to a CompileQueue.
|
||||
*/
|
||||
void CompileQueue::add(CompileTask* task) {
|
||||
assert(lock()->owned_by_self(), "must own lock");
|
||||
assert(!CompileBroker::is_compilation_disabled_forever(), "Do not add task if compilation is turned off forever");
|
||||
|
||||
task->set_next(NULL);
|
||||
task->set_prev(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue