On Mon, 30 Nov 2026 19:08:25 GMT, Leonid Mesnik <[email protected]> wrote:

> During exit VM disable execution of new JVMTI events and waits for already 
> started events before  changing jvmti phase to dead.  
> 
> Thus it exits from VM event then it block itself. The fix updates vm_death to 
> wait only events on the other threads. 
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: afeb10ed
Author:    Leonid Mesnik <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/afeb10ed8e275cf3705e3eebf2375111c91c4029
Stats:     118 lines in 5 files changed: 111 ins; 0 del; 7 mod

8385823: System.exit in premain hangs for 60 seconds

Reviewed-by: sspitsyn, cjplummer

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

PR: https://git.openjdk.org/jdk/pull/34135

Reply via email to