[jdk21u-dev] RFR: 8337981: ShenandoahHeap::is_in should check for alive regions
Satyen Subramaniam
ssubramaniam at openjdk.org
Fri Mar 14 23:58:26 UTC 2025
Backporting JDK-8337981: ShenandoahHeap::is_in should check for alive regions. Fixes Shenandoah's implementation of the `CollectedHeap::is_in` function to not just check that oop is within the heap bounds, but to check that it is within the committed section of the heap. Ran GHA Sanity Checks, and local Tier 1, and Tier 2 tests. Patch is clean.
-------------
Commit messages:
- Backport b9d49dcef22ab81a087d890bbac0329a5244a2ef
Changes: https://git.openjdk.org/jdk21u-dev/pull/1496/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1496&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8337981
Stats: 118 lines in 12 files changed: 58 ins; 7 del; 53 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/1496.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1496/head:pull/1496
PR: https://git.openjdk.org/jdk21u-dev/pull/1496
More information about the jdk-updates-dev
mailing list