RFR: 8367475: Incorrect lock usage in LambdaFormInvokers::regenerate_holder_classes [v2]

Ioi Lam iklam at openjdk.org
Fri Sep 12 04:20:28 UTC 2025


On Fri, 12 Sep 2025 03:51:05 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> I am not sure, but it surely doesn't hurt. I want to make sure that if this is called when `_dumper_thread` is not initialized, we will return `false` for any thread.
>
> It gives the impression that null is possible somehow. But it will assert if that happens - which I doubt is possible.

Oh I didn't realize that `Thread::current()` never returns null. I've updated `current_thread_is_vm_or_dumper()` and `current_thread_is_dumper()`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27231#discussion_r2342906953


More information about the hotspot-runtime-dev mailing list