mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
Merge
This commit is contained in:
commit
707b1d16b4
96 changed files with 3817 additions and 3286 deletions
|
@ -638,8 +638,11 @@ void CompileQueue::free_all() {
|
|||
while (next != NULL) {
|
||||
CompileTask* current = next;
|
||||
next = current->next();
|
||||
// Wake up thread that blocks on the compile task.
|
||||
current->lock()->notify();
|
||||
{
|
||||
// Wake up thread that blocks on the compile task.
|
||||
MutexLocker ct_lock(current->lock());
|
||||
current->lock()->notify();
|
||||
}
|
||||
// Put the task back on the freelist.
|
||||
CompileTask::free(current);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue