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

Chad Rakoczy duke at openjdk.org
Mon Mar 17 20:36:14 UTC 2025


On Sat, 15 Mar 2025 00:14:37 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Chad Rakoczy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix build issues
>
> make/hotspot/lib/CompileJvm.gmk line 201:
> 
>> 199:     DISABLED_WARNINGS_gcc_jvmtiTagMap.cpp := stringop-overflow, \
>> 200:     DISABLED_WARNINGS_gcc_macroAssembler_ppc_sha.cpp := unused-const-variable, \
>> 201:     DISABLED_WARNINGS_gcc_nmethod.cpp := class-memaccess, \
> 
> Why you need this?

Without I get the following error

error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class nmethod’; use copy-assignment or copy-initialization instead [-Werror=class-memaccess]

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

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


More information about the hotspot-compiler-dev mailing list