RFR: 8316694: Implement relocation of nmethod within CodeCache [v4]

Chad Rakoczy duke at openjdk.org
Thu Jul 24 18:51:12 UTC 2025


On Mon, 17 Mar 2025 22:18:15 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> 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.

`clear_inline_caches()` is called for the new copy. A safe point is not required because the code is not installed and therefore not executing

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23573#discussion_r2229298345


More information about the hotspot-compiler-dev mailing list