RFR: 8366865: Allocation GC Pauses Triggered after JVM has started shutdown [v4]

Ivan Walulya iwalulya at openjdk.org
Tue Sep 16 09:26:21 UTC 2025


On Tue, 16 Sep 2025 02:58:12 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> I moved the `Universe::before_exit()` call and also added a timed `wait`. 
>> @dholmes-ora do you have any concerns with this approach?
>
> Yes I do have concerns - sorry. Any change to the shutdown sequence needs very careful analysis. You have now changed the circumstances whereby the JVMTI events get posted. Maybe it won't matter, maybe it will - the issue is that it is very hard to determine the impact of such a change until you get notified that someone's code is now broken.

I have undone that part of the change. We can revisit it separately, that way it is easier to backout if it is problematic

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27190#discussion_r2351648194


More information about the hotspot-gc-dev mailing list