Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-17@packages.debian.org>
Tue, 26 Dec 2023 12:18:48 +0000 (13:18 +0100)
committerMatthias Klose <doko@ubuntu.com>
Tue, 26 Dec 2023 12:18:48 +0000 (13:18 +0100)
commita250e2ac2db7a1259d2fe6216a13a7d91c3fb91a
treec2fdccaec3a08928ca058f4c8a9b1e5f64552242
parent98889d1425b1271b7e4b97ab76ca88d107755ec9
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