-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P2
-
Affects Version/s: 25
-
Component/s: hotspot
When selecting regions for optional evacuation, the pinned attribute is not set in G1CollectedHeap::register_old_region_with_region_attr. As a result, regions containing pinned objects may be incorrectly evacuated, potentially leading to the movement of pinned objects and causing crashes in JNI. This issue was first reported by zstd-jni in the pull request: https://github.com/openjdk/jdk/pull/22015.
Note:
G1PrepareRegionsClosure fixes this for the regular evacuation
Note:
G1PrepareRegionsClosure fixes this for the regular evacuation
- caused by
-
JDK-8343782 G1: Use one G1CardSet instance for multiple old gen regions
-
- Resolved
-
- relates to
-
JDK-8370807 G1: Improve region attribute table method naming
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk25u-dev/272