Skip to content

Commit 898b8de

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

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)