RFR: 8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs
Dean Long
dlong at openjdk.org
Thu Jan 18 01:42:12 UTC 2024
On Wed, 17 Jan 2024 15:07:04 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
> This is an oversight in one of the asserts I added as part of the 8320275 fix. Variable `end` cannot be passed to bit_index_for() since it can be unaligned if UseCompressedOops is off. We actually only need `effective_end` in the assert since we only want to check that if `end` was unaligned there is indeed no bit set for that last stack slot of the argument area.
> I run the failing test several times with -XX:-UseCompressedOops. I also run the upper loom tiers with that flag since it seems it's not being tested as much.
>
> Thanks,
> Patricio
Marked as reviewed by dlong (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17465#pullrequestreview-1828548730
More information about the hotspot-runtime-dev
mailing list