Investigate moving the `Universe::before_exit()` call after `JvmtiExport::post_thread_end()`. Reordering would ensure that any allocations or GC activity caused during `post_thread_end()` occur under normal GC conditions, and only after that point would the GCs be signaled that shutdown is in progress.
- causes
-
JDK-8371749 New test serviceability/jvmti/events/VMDeath/AllocatingInVMDeath/TestAllocatingInVMDeath.java fails with -Xcheck:jni
-
- Resolved
-
- duplicates
-
JDK-8371754 Test vmTestbase/vm/mlvm/indy/func/jdi/breakpoint/Test.java hangs during VM exit
-
- Closed
-
-
JDK-8371755 Test java/lang/instrument/DaemonThread/TestDaemonThread.java failed
-
- Closed
-
- relates to
-
JDK-8366865 Allocation GC Pauses Triggered after JVM has started shutdown
-
- Resolved
-
-
JDK-8371990 Remove two second delayed OOME after GC shutdown
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/705bd6fb
-
Review(master)
openjdk/jdk/28227