RFR: 8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs

Patricio Chilano Mateo pchilanomate at openjdk.org
Wed Jan 17 15:28:02 UTC 2024


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

-------------

Commit messages:
 - v1

Changes: https://git.openjdk.org/jdk/pull/17465/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17465&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323595
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/17465.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17465/head:pull/17465

PR: https://git.openjdk.org/jdk/pull/17465


More information about the hotspot-runtime-dev mailing list