RFR: 8334010: VM crashes with ObjectAlignmentInBytes > GCCardSizeInBytes

Thomas Schatzl tschatzl at openjdk.org
Tue Oct 15 08:15:54 UTC 2024


Hi all,

  please review this change that makes VM initialization reject invalid combinations of `ObjectAlignmentInBytes` and `GCCardSizeInBytes`.

ObjectAlignmentInBytes larger than GCCardSizeInBytes causes issues with setting correct BOT offsets.

Testing: new test case, gha

Hth,
  Thomas

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

Commit messages:
 - 8334010

Changes: https://git.openjdk.org/jdk/pull/21515/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21515&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/jdk/pull/21515.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21515/head:pull/21515

PR: https://git.openjdk.org/jdk/pull/21515


More information about the hotspot-gc-dev mailing list