Integrated: 8367372: Test `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` fails on 32 bit systems
Satyen Subramaniam
ssubramaniam at openjdk.org
Fri Sep 12 08:33:56 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.
This pull request has now been integrated.
Changeset: 0f535aeb
Author: Satyen Subramaniam <ssubramaniam at openjdk.org>
Committer: Hamlin Li <mli at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0f535aeb0ae2f7015300889a0ee9efbf10a15896
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
8367372: Test `test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java` fails on 32 bit systems
Reviewed-by: stefank, tschatzl, mli
-------------
PR: https://git.openjdk.org/jdk/pull/27230
More information about the hotspot-gc-dev
mailing list