Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)
committerMatthias Klose <doko@ubuntu.com>
Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)
commitfa49735b9ea3f345af499d1d7e3fdcdb787893c4
tree4e610fa6947c53a979e118602ecea0c5fe69d0b7
parente136c3016b91004a1f036dcceca196166cba5414
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