RFR: 8290780: AArch64: Crash in c2 nmethod running RunThese30M.java [v2]

Andrew Haley aph at openjdk.org
Fri Jul 22 19:34:05 UTC 2022


On Fri, 22 Jul 2022 18:35:29 GMT, Dean Long <dlong at openjdk.org> wrote:

> Looks good. To detect bad addresses at emit time, you could add some asserts that check is_valid_AArch64_address(target) in _adrp() and the patch code.

I'll look at that.

 > Also maybe check after patching that the desired value was rewritten using target_addr_for_insn().

I already do that in `verify()`.

Thanks.

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

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


More information about the hotspot-dev mailing list