[jdk25u-dev] RFR: 8367372: Test `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` fails on 32 bit systems

Roland Mesde duke at openjdk.org
Thu Jan 29 19:53:07 UTC 2026


Backporting JDK-8367372: Test test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java fails on 32 bit systems.

This PR fixes the TestObjectAlignmentCardSize.java failures on 32-bit systems caused by unsupported ObjectAlignmentInBytes flag.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java

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

Commit messages:
 - Backport 0f535aeb0ae2f7015300889a0ee9efbf10a15896

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

PR: https://git.openjdk.org/jdk25u-dev/pull/204


More information about the jdk-updates-dev mailing list