On Tue, 11 Nov 2025 03:49:07 GMT, Leonid Mesnik <[email protected]> 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. I agree with Albert. I would prefer a patch that moves the JVMTI code instead. This is also what I've tested through tier1-8 in my queue of patches to clean up some of the shutdown code: https://github.com/stefank/jdk/tree/remove_2s_shutdown_workaround ------------- PR Comment: https://git.openjdk.org/jdk/pull/28227#issuecomment-3516108702
