RFR: 8367372: Test `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` fails on 32 bit systems

Satyen Subramaniam ssubramaniam at openjdk.org
Thu Sep 11 17:26:43 UTC 2025


On 32-bit systems, the `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` uses the `ObjectAlignmentInBytes` flag, which isn't supported on 32 bit systems. I'm adjusting this test to require `vm.bits` is 64 as per similar [tests](https://sim.amazon.com/issues/JDK-14885).

Tested on:
* 64-bit: with and without change (passes both times)
* 32-bit: with and without change (fails before, skips after)
Note: seeing some GHA failures, but unrelated to the actual test.

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

Commit messages:
 - Adjusting copyright
 - Requiring 64 bit for TestObjectAlignmentCardSize.java

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

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


More information about the hotspot-gc-dev mailing list