RFR: 8364501: Compiler shutdown crashes on access to deleted CompileTask

Vladimir Kozlov kvn at openjdk.org
Fri Aug 8 15:46:11 UTC 2025


On Fri, 8 Aug 2025 15:29:54 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> src/hotspot/share/compiler/compileBroker.cpp line 509:
>> 
>>> 507:   }
>>> 508:   task->set_next(nullptr);
>>> 509:   task->set_prev(nullptr);
>> 
>> Should we do `task->prev()->set_next(task->next())` after some checks?
>
> We do it at L494? Maybe I don't understand the question.

Yes, that is what I asked for. I did not look above.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26696#discussion_r2263311329


More information about the hotspot-compiler-dev mailing list