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

Martin Doerr mdoerr at openjdk.org
Fri Apr 4 08:02:54 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.

Thanks for the review!

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

PR Comment: https://git.openjdk.org/jdk/pull/24331#issuecomment-2777865475


More information about the hotspot-dev mailing list