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

Albert Mingkun Yang ayang at openjdk.org
Tue Nov 11 10:06:14 UTC 2025


On Tue, 11 Nov 2025 03:49:07 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> move GC shutdown start after VM Death and agent's unloading

Is there a reason why `Universe::before_exit()` is moved down, instead of moving jvmti related calls (before `Universe::before_exit()`)?

(The current patch would leave GC running while calling `MemMapPrinter::print_all_mappings(tty);` -- GC can potentially alter mappings.)

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

PR Comment: https://git.openjdk.org/jdk/pull/28227#issuecomment-3515988219


More information about the hotspot-gc-dev mailing list