RFR: 8286825: Linker naming cleanup
Jorn Vernee
jvernee at openjdk.java.net
Fri May 20 10:42:55 UTC 2022
On Fri, 20 May 2022 10:36:17 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> This patch is a batch naming cleanup for the foreign linker implementation.
>>
>> The naming changes are as follows:
>>
>> - ProgrammableInvoker -> DowncallLinker
>> - ProgrammableUpcallHandler -> UpcallLinker
>> - 'native invoker' -> 'downcall stub'
>> - 'optimzed entry blob' -> 'upcall stub'
>> - OptimizedEntryBlob -> UpcallStub
>> - optimized_entry_frame -> upcall_stub_frame
>>
>> Then renaming of some hotspot files:
>>
>> - universalNativeInvoker* -> downcallLinker*
>> - universalUpcallHandler* -> upcallLinker*
>> - foreign_globals* -> foreignGlobals* (to match existing convention)
>>
>> Method, field, and other variable names are also adjusted accordingly.
>
> src/hotspot/cpu/riscv/upcallLinker_riscv.cpp line 30:
>
>> 28: #include "utilities/debug.hpp"
>> 29:
>> 30: address UpcallLinker::generate_optimized_upcall_stub(jobject receiver, Method* entry,
>
> Hasn't "generated_optimized_upcall_stub" changed too?
Right, I missed that one. Good catch!
-------------
PR: https://git.openjdk.java.net/jdk/pull/8777
More information about the core-libs-dev
mailing list