RFR: 8316694: Implement relocation of nmethod within CodeCache [v4]
Vladimir Kozlov
kvn at openjdk.org
Mon Mar 17 22:21:19 UTC 2025
On Mon, 17 Mar 2025 22:13:52 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> That is very old comment which may be not true anymore. We don't do that when we replace C1 compiled code (tier2-3) with C2 compiled code.
>
> Yes, we need to update call sites. Should we replace all resolved calls with calls to `resolve_*_call` blobs?
> Actually `clean_if_nmethod_is_unloaded()` do that. May be we indeed need to call `nmethod::cleanup_inline_caches_impl()` but without VM operation.
We need to do that only for new copy of nmethod and not for old.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23573#discussion_r1999750390
More information about the hotspot-compiler-dev
mailing list