RFR: 8361892: AArch64: Incorrect matching rule leading to improper oop instruction encoding

Yadong Wang yadongwang at openjdk.org
Fri Jul 11 04:53:37 UTC 2025


On Fri, 11 Jul 2025 03:39:05 GMT, Dean Long <dlong at openjdk.org> wrote:

> Let me see if I can unpack your question.  Yes jdk8u still uses immPollPage, which is similar to immByteMapBase, but I don't think it has the same problem, because I don't see how an oop could have the same address as the polling page.  If we fix riscv.ad now, there won't be a clean backport to jdk8u because the riscv port doesn't exist.  For aarch64, either of the two proposed fixes could be backported to jdk8u, correct?

Yes, but byte_map_base can be same address as the polling page in jdk8u, in both 2 proposed fixes.

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

PR Comment: https://git.openjdk.org/jdk/pull/26249#issuecomment-3060506873


More information about the hotspot-compiler-dev mailing list