RFR: 8355631: The events might be generated after VM_DEATH event

Leonid Mesnik lmesnik at openjdk.org
Wed Oct 1 15:55:04 UTC 2025


On Wed, 1 Oct 2025 11:20:46 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > Right now I am not sure if CSR is needed. The new behaviour doesn't require specification changes.
> 
> Significant behavioural changes also require a CSR request - not just changes to specifications.

@sspitsyn, @dholmes-ora Thank you for feedback.
Let me implement completed solution that post the VMDeath as a last event and wait for completion of current events before changing phase to dead. 

In this case the code inside any callback can never seen phase dead. The VMDeath is the last posted event. The events happened while VM Death is processed are not posted. No events can be executed concurrently with VMDeath event. 

And I'll prepare CSR for this fix.

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

PR Comment: https://git.openjdk.org/jdk/pull/27504#issuecomment-3357058759


More information about the hotspot-dev mailing list