git: openjdk/jdk: 8258077: Using -Xcheck:jni can lead to a double-free after JDK-8193234

David Holmes dholmes at openjdk.java.net
Fri Jan 8 04:11:56 UTC 2021


Changeset: 712014c5
Author:    David Holmes <dholmes at openjdk.org>
Date:      2021-01-08 04:11:22 +0000
URL:       https://git.openjdk.java.net/jdk/commit/712014c5

8258077: Using -Xcheck:jni can lead to a double-free after JDK-8193234

Reviewed-by: dcubed, hseigel

! src/hotspot/share/prims/jniCheck.cpp
+ test/hotspot/jtreg/runtime/jni/checked/TestCheckedReleaseArrayElements.java
+ test/hotspot/jtreg/runtime/jni/checked/TestCheckedReleaseCriticalArray.java
+ test/hotspot/jtreg/runtime/jni/checked/libTestCheckedReleaseArrayElements.c
+ test/hotspot/jtreg/runtime/jni/checked/libTestCheckedReleaseCriticalArray.c



More information about the jdk-changes mailing list