[foreign-memaccess+abi] Integrated: 8266627: CLinker allocateMemory, freeMemory implementation should not use default lookup
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Thu May 6 20:56:05 UTC 2021
On Thu, 6 May 2021 16:48:39 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> This patch removes the workaround on Windows which requires loading msvcrt.dll.
>
> The solution is to create (Java side) a memory segment and fill it with function pointers on the VM side.
> This way, Java code can look up VM functions easily. I've moved this support onto a different class, as the approach might, in the future, be required for other VM functions.
This pull request has now been integrated.
Changeset: d0a7098c
Author: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.java.net/panama-foreign/commit/d0a7098c48af49e67879aa6d3fcef6300df6f180
Stats: 146 lines in 3 files changed: 121 ins; 23 del; 2 mod
8266627: CLinker allocateMemory, freeMemory implementation should not use default lookup
Reviewed-by: jvernee
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/527
More information about the panama-dev
mailing list