Skip to content

Commit 90f96fb

Browse files
committed
8277441: CompileQueue::add fails with assert(_last->next() == __null) failed: not last
Reviewed-by: chagedorn, neliasso
1 parent 66eaf65 commit 90f96fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/share/compiler/compileBroker.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ void CompileQueue::free_all() {
411411
CompileTask::free(current);
412412
}
413413
_first = NULL;
414+
_last = NULL;
414415

415416
// Wake up all threads that block on the queue.
416417
MethodCompileQueue_lock->notify_all();

0 commit comments

Comments
 (0)