RFR: Save/load nmethod without going through CodeBuffer [v2]
Vladimir Kozlov
kvn at openjdk.org
Thu Mar 20 18:11:26 UTC 2025
On Mon, 6 Jan 2025 19:07:29 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Minor cleanup
>>
>> Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>
> src/hotspot/share/code/nmethod.cpp line 1375:
>
>> 1373: SCCache::copy_bytes(reloc_addr, (address)relocation_begin(), scnm->relocation_size());
>> 1374: const char* content_addr = scc_reader->addr_of_entry_offset(scnm->content_offset());
>> 1375: SCCache::copy_bytes(content_addr, content_begin(), scnm->content_size());
>
> Why copy them separately?
I mean they usually collocated.
-------------
PR Review Comment: https://git.openjdk.org/leyden/pull/27#discussion_r1905925696
More information about the leyden-dev
mailing list