Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)
committerMatthias Klose <doko@ubuntu.com>
Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)
commitcf51e07133cc9920d7dbbf8b7caab969ee4e24c0
tree044971384b35c32a56f3267878a89be493d9a8cc
parent79026638ae862d8f2332e35700ad2e785dcfdaed
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