RFR: 8362203: assert(state == nullptr || state->get_thread_oop() != nullptr) failed: incomplete state

Leonid Mesnik lmesnik at openjdk.org
Tue Jul 15 03:07:40 UTC 2025


On Mon, 14 Jul 2025 23:42:03 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The problem happens if post_early_vm_start is triggered.
> The fix is to complete initialization once threadObj become available.
> 
> I'vent observed that recompute_enable and hitting assertion might happens before this step. However it might be makes sense to check state in assertion if needed.

I renamed function just to make clear that it should be used once in startup phase.

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

PR Comment: https://git.openjdk.org/jdk/pull/26303#issuecomment-3071735984


More information about the hotspot-dev mailing list