RFR: 8316694: Implement relocation of nmethod within CodeCache [v21]
Chad Rakoczy
duke at openjdk.org
Mon Jun 2 17:48:00 UTC 2025
On Sat, 31 May 2025 20:57:40 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:
>> Chad Rakoczy has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Change to ImmutableDataReferences
>
> test/lib/jdk/test/whitebox/WhiteBox.java line 498:
>
>> 496: relocateNMethodFromMethod0(method, type);
>> 497: }
>> 498: public native void relocateNMethodFromAddr0(long address, int type);
>
> Why does the name have '0' at the end?
I noticed that was a common trend with JNI functions. There is no `relocateNMethodFromAddr` so I suppose the '0' isn't necessary in this case
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23573#discussion_r2121796964
More information about the hotspot-compiler-dev
mailing list