Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-17@packages.debian.org>
Thu, 24 Aug 2023 06:29:32 +0000 (07:29 +0100)
committerMatthias Klose <doko@ubuntu.com>
Thu, 24 Aug 2023 06:29:32 +0000 (07:29 +0100)
commit7818a6977246b82b30fa7fd349af828cc0ea17b2
tree02f8bf47544b620234d99115d36911f7debd0e7a
parent76823ecf72b8cb4d8dc06f152ad8acd13d223d82
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