RFR: 8367372: Test `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` fails on 32 bit systems
Stefan Karlsson
stefank at openjdk.org
Thu Sep 11 19:05:42 UTC 2025
On Thu, 11 Sep 2025 17:18:11 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:
> 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://github.com/openjdk/jdk/blob/85715e1050fa774c3267dbbe2f749717aeeec8ff/test/hotspot/jtreg/runtime/CompressedOops/CompressedKlassPointerAndOops.java#L31).
>
> 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.
Marked as reviewed by stefank (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27230#pullrequestreview-3213266621
More information about the hotspot-gc-dev
mailing list