Movatterモバイル変換


[0]ホーム

URL:


Wayback Machine
19 captures
07 Sep 2020 - 26 Apr 2025
AugAUGOct
Previous capture23Next capture
202120222024
success
fail
COLLECTED BY
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20220823092525/https://github.com/openjdk/panama-foreign
Skip to content
Sign up
Sign up

openjdk/panama-foreign

foreign-memacc…
Switch branches/tags
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time

Welcome to the JDK!

For build instructions please see theonline documentation, or either of these files:

Seehttps://openjdk.java.net/ for more information about the OpenJDK Community and the JDK.


Foreign Function & Memory API

This repository contains changes which aim at improving the interoperability between the Java programming language and native libraries, which is one of the main goals ofProject Panama. This is done by introducing a new Java API, the Foreign Function & Memory API, which can be used to:

  • interact with different kinds of memory resources, including so-called off-heap or native memory, as shownhere;
  • find native functions in a .dll/.so/.dylib and invoke them using method handles, as shownhere.

This API has been delivered, as incubating/preview APIs, in official JDK releases, seeJEP 412,JEP 419 andJEP 424 for more details.

The Foreign Function & Memory API is best used in combination with a tool calledjextract, which can be used to generate Java bindings to access functions and/or structs in a native library described by a given header file. The tool is available in a standalonerepository which contains severalexamples which should help you getting started.

Early acccess (EA) binary snapshots of this repository can be found at:http://jdk.java.net/panama/


[8]ページ先頭

©2009-2025 Movatter.jp