Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-17@packages.debian.org>
Thu, 2 Nov 2023 10:23:27 +0000 (11:23 +0100)
committerMatthias Klose <doko@ubuntu.com>
Thu, 2 Nov 2023 10:23:27 +0000 (11:23 +0100)
commit390f5f9529f2113627a4c3e7345e1805b086b3b3
tree4f575dcb63cdc03e7b4d400c9985bbbd29ed3905
parent8f6f3c2f3515b7aea38ca38e9260a142bf6f2b9e
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