hg: panama/dev: 8202907: Consolidate the design and implementation of the nicl support

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Jul 10 10:25:21 UTC 2018


Changeset: 5fce62fb5910
Author:    mcimadamore
Date:      2018-07-10 11:23 +0100
URL:       http://hg.openjdk.java.net/panama/dev/rev/5fce62fb5910

8202907: Consolidate the design and implementation of the nicl support
* Attach stubs resources to scopes to prevent GC from collecting them

! src/java.base/share/classes/jdk/internal/foreign/CallbackImplGenerator.java
! src/java.base/share/classes/jdk/internal/foreign/ScopeImpl.java
! src/java.base/share/classes/jdk/internal/foreign/memory/References.java
! test/jdk/java/foreign/types/FunctionAccessTest.java



More information about the panama-dev mailing list