On Mon, 13 Oct 2025 11:26:36 GMT, Francesco Andreuzzi <[email protected]>
wrote:
> In this PR I add a check to prevent debug builds to crash when an agent tries
> to attach while the JVM is not in live phase.
>
> Passes tier1 and tier2 (fastdebug).
src/hotspot/share/prims/jvmtiAgentList.cpp line 201:
> 199: if (JvmtiEnvBase::get_phase() != JVMTI_PHASE_LIVE) {
> 200: st->print_cr("Not in live phase");
> 201: return;
Will the agent be loaded later?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27766#discussion_r2426112848