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

Chad Rakoczy duke at openjdk.org
Mon Mar 17 22:26:08 UTC 2025


On Mon, 17 Mar 2025 21:54:57 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> And https://en.cppreference.com/w/cpp/named_req/TriviallyCopyable
>
> We can use `Copy::disjoint_words()` as we do in `CodeBuffer::relocate_code_to().`

Casting destination to `void*` is enough to make `memcpy` happy

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

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


More information about the hotspot-compiler-dev mailing list