Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Sat, 15 Mar 2025 07:27:31 +0000 (08:27 +0100)
committerMatthias Klose <doko@ubuntu.com>
Sat, 15 Mar 2025 07:27:31 +0000 (08:27 +0100)
commiteda70407114fea38a5e4bfb18a039c7b454a4421
treefbed64abc785b8449e5e687c1987fe31e995663e
parentf4dcde35266ccc9c45e3609e5e40f58c82516b3a
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp