RFR: 8254693: Add Panama feature to pass heap segments to native code [v11]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Oct 23 11:38:36 UTC 2023


On Mon, 23 Oct 2023 11:29:28 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> We could add a line to `donwcallHandle` that says that the returned handle throws an `IllegalArgumentException` if a heap segment is passed, unless heap segments are explicitly allowed through the `critical(true)` option.

Something like that would be ok, yes.

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

PR Comment: https://git.openjdk.org/jdk/pull/16201#issuecomment-1774999918


More information about the core-libs-dev mailing list