[jdk21u-dev] RFR: 8334010: VM crashes with ObjectAlignmentInBytes > GCCardSizeInBytes

Satyen Subramaniam ssubramaniam at openjdk.org
Wed Jun 4 17:37:14 UTC 2025


Backporting JDK-8334010: VM crashes with ObjectAlignmentInBytes > GCCardSizeInBytes. This change makes VM initialization reject invalid combinations of ObjectAlignmentInBytes and GCCardSizeInBytes. ObjectAlignmentInBytes larger than GCCardSizeInBytes causes issues with setting correct BOT offsets. Ran GHA Sanity Checks, local Tier 1 and 2, and new test directly. Patch is clean.

-------------

Commit messages:
 - Backport 577babf1968700e4b648305cd5a5c2ddf712e2dc

Changes: https://git.openjdk.org/jdk21u-dev/pull/1850/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1850&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334010
  Stats: 71 lines in 2 files changed: 71 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1850.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1850/head:pull/1850

PR: https://git.openjdk.org/jdk21u-dev/pull/1850


More information about the jdk-updates-dev mailing list