RFR: 8367902: Allocation after Universe::before_exit() in the VM shutdown sequence [v4]

Axel Boldt-Christmas aboldtch at openjdk.org
Wed Nov 12 14:06:32 UTC 2025


On Tue, 11 Nov 2025 18:15:23 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> Please review following fix that move GC shutdown start after VM Death and agent's unloading.
>> 
>> The `Universe::before_exit();` switch GC to fail any new GC allocation. So any allocation in vm death is failing.
>> 
>> The test is a little bit complicated because jtreg uses wrapper even to execute othrevm tests and also results might be confusing if test is failing after main() method is completed. So the better is to run new process for vm death event handling.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
> 
>   dot added

lgtm.

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

Marked as reviewed by aboldtch (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28227#pullrequestreview-3453617541


More information about the hotspot-gc-dev mailing list