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

Vladimir Kozlov kvn at openjdk.org
Mon Jul 21 23:16:56 UTC 2025


On Wed, 12 Mar 2025 18:44:39 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Chad Rakoczy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Require caller to hold locks
>
> src/hotspot/share/code/nmethod.cpp line 1406:
> 
>> 1404:     _oop_maps                   = nm.oop_maps()->clone();
>> 1405:   }
>> 1406:   _relocation_size              = nm._relocation_size;
> 
> Did you consider to use `memcpy()` and update only changed fields?

You did not answered my question adout using `memcpy

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

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


More information about the hotspot-compiler-dev mailing list