Skip to content

Commit 6aa60ac

Browse files
committed
8277441: CompileQueue::add fails with assert(_last->next() == __null) failed: not last
Backport-of: 90f96fb4db174e50cc2510f292fe69fc995add26
1 parent 15f2406 commit 6aa60ac

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
@@ -410,6 +410,7 @@ void CompileQueue::free_all() {
410410
CompileTask::free(current);
411411
}
412412
_first = NULL;
413+
_last = NULL;
413414

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

0 commit comments

Comments
 (0)