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

Vladimir Kozlov kvn at openjdk.org
Fri May 30 01:21:07 UTC 2025


On Fri, 30 May 2025 01:09:59 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> @vnkozlov , when I first proposed this [1], you had a concern about Leyden.  Is it still a concern?
>> [1] https://github.com/openjdk/jdk/pull/21276#discussion_r1853211488
>
> I still have that concern for **mutable**  data which includes relocations which accessed frequently.
> 
> I don't think accessing **immutable** is performance critical. They mostly accessed during deoptimization and from JVMTI.

Actually even **mutable** is not critical since we did not include oops data section (we keep it with nmethod). It currently contains relocations, metadata (klass*, method*) and JVMCI data. We can experiment in separate RFE if we can use separate class for it too.

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

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


More information about the hotspot-compiler-dev mailing list