[foreign-memaccess+abi] RFR: 8266627: CLinker allocateMemory, freeMemory implementation should not use default lookup [v2]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu May 6 20:16:43 UTC 2021


> 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.

Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:

  Remove spurious #include

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/527/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/527/files/20d183b6..a433c699

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=527&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=527&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/527.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/527/head:pull/527

PR: https://git.openjdk.java.net/panama-foreign/pull/527


More information about the panama-dev mailing list