RFR: 8353274: [PPC64] Bug related to -XX:+UseCompactObjectHeaders -XX:-UseSIGTRAP in JDK-8305895

Richard Reingruber rrich at openjdk.org
Thu Apr 3 13:33:48 UTC 2025


On Mon, 31 Mar 2025 14:25:09 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> `MacroAssembler::ic_check` compares the `Klass*` in the compact format (no decode). However, a right shift is needed in case of `UseCompactObjectHeaders` (see `load_narrow_klass_compact`). This was missing in the slower version which doesn't use SIGTRAP.

Looks good.
Thanks, Richard.

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

Marked as reviewed by rrich (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24331#pullrequestreview-2739859590


More information about the hotspot-dev mailing list