RFR: 8254231: Implementation of Foreign Linker API (Incubator) [v9]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Oct 22 16:34:29 UTC 2020


On Wed, 21 Oct 2020 17:42:53 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Some design considerations, to consider later maybe.
> 
> The IR representation could be simplified to use record classes (which should be exiting preview in 16), implementing a Binding interface. The interpreter and specializer (compiler) could be separate if need be, operating on a sequence of instructions that just hold the data. Pattern matching could be used on the binding instances. It may be simpler and more efficient if the compiler generated explicit byte code rather than using MH combinators.

Good suggestions - I think this is good to consider post-integration.

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

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



More information about the security-dev mailing list