On Fri, 17 Mar 2023 15:42:56 GMT, Per Minborg <pminb...@openjdk.org> wrote:
> API changes for the FFM API (third preview) > > Specdiff: > https://cr.openjdk.org/~pminborg/panama/21/v1/specdiff/overview-summary.html > > Javadoc: > https://cr.openjdk.org/~pminborg/panama/21/v1/javadoc/java.base/module-summary.html src/java.base/share/classes/java/lang/foreign/Linker.java line 479: > 477: * Otherwise, the invocation throws {@link > WrongThreadException}; and</li> > 478: * <li>{@code A} is kept alive during the invocation. For > instance, if {@code A} has been obtained using a > 479: * {@linkplain Arena#ofConfined() confined arena}, any attempt > to {@linkplain Arena#close() close} Is that correct? Do you mean a shared arena? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13079#discussion_r1142798464