Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-17@packages.debian.org>
Thu, 23 Oct 2025 10:33:48 +0000 (12:33 +0200)
committerMoritz Mühlenhoff <jmm@debian.org>
Thu, 23 Oct 2025 10:33:48 +0000 (12:33 +0200)
commit0bf3ce16fa2af3c9423062a8181d159146577eae
tree65bf038dc68fab1bd04a67afb4a45ba782bcc632
parent020e1de7926b1fc469872f22f98ebb96a335b102
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