RFR: 8367372: Test `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` fails on 32 bit systems
duke
duke at openjdk.org
Thu Sep 11 22:42:26 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.
@satyenme
Your change (at version 485aac3fb75148cc425515c0f5d0e74f2d231d43) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27230#issuecomment-3282852299
More information about the hotspot-gc-dev
mailing list