RFR: 8225354: serviceability/jvmti/ModuleAwareAgents/ThreadStart failed with Didn't get ThreadStart events in VM early start phase! [v3]
Serguei Spitsyn
sspitsyn at openjdk.org
Wed Jun 25 01:03:27 UTC 2025
On Tue, 24 Jun 2025 23:53:23 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> I thought if we need some sanity test for ThreadStart event with can_generate_early_vmstart capability, but looking at the spec I see no relations between them. So it's unclear what was the purpose of the test.
The test purpose was to ensure the `ThreadStart` are posted in the early `VM_START` phase. The issue is that a few system threads are triggered to start in the early `VM_START` but there is no guaranty they are really started in that phase because of a race with the VM initializing thread.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25948#issuecomment-3002273203
More information about the serviceability-dev
mailing list