RFR: 8343789: Move mutable nmethod data out of CodeCache

Andrew Haley aph at openjdk.org
Sun Feb 2 17:40:50 UTC 2025


On Fri, 22 Nov 2024 00:32:10 GMT, Dean Long <dlong at openjdk.org> wrote:

> replace C1 patching with deoptimization, like on DEOPTIMIZE_WHEN_PATCHING aarch64.

It might be worth looking at that. My experiments at the time the AArch64 port was done indicated that only 10% of deoptimization on AArch64 was caused by patching events. Most of the 90% remaining was tiered events.

It is possible to generate C1 code for AArch64 that is patchable, but the frequent additional indirections in generated code are worse for performance than the occasional deoptimization.

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

PR Comment: https://git.openjdk.org/jdk/pull/21276#issuecomment-2629485139


More information about the hotspot-compiler-dev mailing list