From c3c87d7c33323f70cf3910883de000c4a1ce02fe Mon Sep 17 00:00:00 2001 From: Tobias Hartmann Date: Mon, 22 Nov 2021 13:35:56 +0100 Subject: [PATCH] 8277441: CompileQueue::add fails with assert(_last->next() == __null) failed: not last --- src/hotspot/share/compiler/compileBroker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/share/compiler/compileBroker.cpp b/src/hotspot/share/compiler/compileBroker.cpp index fbb295b4c4d9e..eab2751c3b03e 100644 --- a/src/hotspot/share/compiler/compileBroker.cpp +++ b/src/hotspot/share/compiler/compileBroker.cpp @@ -411,6 +411,7 @@ void CompileQueue::free_all() { CompileTask::free(current); } _first = NULL; + _last = NULL; // Wake up all threads that block on the queue. MethodCompileQueue_lock->notify_all();