Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Thu, 27 Mar 2025 11:19:44 +0000 (12:19 +0100)
committerMatthias Klose <doko@ubuntu.com>
Thu, 27 Mar 2025 11:19:44 +0000 (12:19 +0100)
commitfd9cf1509c5b0fc5ada6c8aa1f3895076d2c5e2d
tree331932c2fa048abf03c745398aeae7a5ba1d9aeb
parenta5f780ad0d3c2292f3fa25a8b12e6cbc49373dc3
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