[foreign-jextract] RFR: 8266814: Improve library loading with SymbolLookup abstraction

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue May 11 10:53:08 UTC 2021


This patch add jextract support for the newly added `SymbolLookup` abstraction.

Note that the symbol lookup used by jextract classes is a *chained* lookup. That is, first the loader lookup is searched, and, when that fails, the system lookup is also searched.

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

Commit messages:
 - Add support for chained lookups
 - Merge branch 'foreign-jextract' into symbol_lookup+jextract
 - Merge branch 'foreign-memaccess+abi' into symbol_lookup+jextract
 - Add jextract changes
 - Merge branch 'symbol_lookup' into symbol_lookup+jextract
 - Rename c library for suporting system lookup
 - Initial push
 - Revert "8266682: sync jextract for LibraryLookup removal"

Changes: https://git.openjdk.java.net/panama-foreign/pull/532/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=532&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266814
  Stats: 437 lines in 9 files changed: 42 ins; 43 del; 352 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/532.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/532/head:pull/532

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


More information about the panama-dev mailing list