RFR: 8354996: Reduce dynamic code generation for a single downcall [v2]
Chen Liang
liach at openjdk.org
Fri Apr 18 18:35:40 UTC 2025
On Fri, 18 Apr 2025 18:15:09 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> So just `Linker.nativeLinker().downcallHandle(MemorySegment.ofArray(new byte[0]), signature)` suffices?
>
> Yes, that would work, but I was thinking just `Linker.nativeLinker().downcallHandle(signature)`
Yep, simplified this, the startup results are still similar.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24742#discussion_r2050975328
More information about the build-dev
mailing list