Integrated: 8277924: Small tweaks to foreign function and memory API

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Dec 2 11:27:12 UTC 2021


On Mon, 29 Nov 2021 11:22:45 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> Following integration of the second incubator of the foreign function and memory API [1], we detected few divergences between the contents of the jdk repo and the panama repo:
> 
> * the name of some of the `FunctionDescriptor` wither methods is different (e.g. `withAppendedLayoutArguments` vs. `appendLayoutArguments`), as it has been simplified and improved following a change that was not incorporated in [1].
> 
> * TestUpcall does not execute all the test combinations, because of an issue in the jtreg header (also fixed in the panama repo)
> 
> * Addressing some feedback, we would like to bring back alignment to JAVA_INT layout constants (and related constants). 
> 
> Javadoc: http://cr.openjdk.java.net/~mcimadamore/8277924/v1/javadoc/jdk/incubator/foreign/package-summary.html
> Specdiff: http://cr.openjdk.java.net/~mcimadamore/8277924/v1/spec_diff/overview-summary.html
> 
> [1] - #5907

This pull request has now been integrated.

Changeset: ea905bd3
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ea905bd3dad5fc1baad66e714bdd01fa679d2d46
Stats:     84 lines in 7 files changed: 46 ins; 5 del; 33 mod

8277924: Small tweaks to foreign function and memory API

Reviewed-by: jvernee, psandoz

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

PR: https://git.openjdk.java.net/jdk/pull/6589


More information about the core-libs-dev mailing list