JDK-8186199 : [windows] JNI_DestroyJavaVM not covered by SEH
Type:Bug
Component:hotspot
Sub-Component:runtime
Affected Version:9,10
Priority:P4
Status:Resolved
Resolution:Fixed
OS:windows
Submitted:2017-08-14
Updated:2025-06-26
Resolved:2017-08-23
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
We miss a __try/__except block around the code in JNI_DestroyJavaVM which means crashes during that function call will not result in an hs-err file.
Comments
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk8u-dev/pull/451
Date: 2024-02-20 19:19:39 +0000
21-02-2024
[jdk8u-fix-request] Approval Request from Frederic Thevenet
The motivation for this backport is to help reduce the number of occurrences where a VM might terminate immediately without writing an error log Windows, making root cause analysis very difficult in such cases.
Backport is not clean because of conflicting changes introduced subsequently to the original patch.
Risk is low.
This is a follow-up to backporting JDK-8074860 to 8u