[jdk8u-dev] RFR: 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Frederic Thevenet
fthevenet at openjdk.org
Tue Feb 20 18:54:04 UTC 2024
Hi,
This is a backport of [JDK-8082592](https://bugs.openjdk.org/browse/JDK-8082592) which adds Structured Exception Handling (SEH) to guard 'JNI_CreateJavaVM' on Windows.
The motivation for this backport is to help reduce the number of occurences where a VM might crash will terminate VM immediately without writing an error log Windows, making root cause analysis very difficult in such cases.
In addition, I plan to also backport [JDK-8186199](https://bugs.openjdk.org/browse/JDK-8186199) as a follow-up, which does something similar to guard 'JNI_DestroyJavaVM'.
Thanks!
-------------
Commit messages:
- 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Changes: https://git.openjdk.org/jdk8u-dev/pull/449/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=449&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8074860
Stats: 57 lines in 5 files changed: 19 ins; 32 del; 6 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/449.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/449/head:pull/449
PR: https://git.openjdk.org/jdk8u-dev/pull/449
More information about the jdk8u-dev
mailing list