[foreign-memaccess+abi] RFR: 8299730: Add trivial call linker option [v5]
Maurizio Cimadamore
mcimadamore at openjdk.org
Tue Jan 31 10:31:40 UTC 2023
On Mon, 30 Jan 2023 22:00:31 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> The new test that tests that we can't do an upcall when a function is trivial was failing on the `zero` VM. `zero` just ignores the linker option, so it is also impossible to detect. I don't see any merit in trying to make sure that an upcall fails on `zero` though when the linker option is otherwise ignored. So, I've just disabled the test on `zero` instead.
I agree - trivial should be best effort - perhaps something worth a note in the javadoc (e.g. that some linker implementation might reserve a right to refuse? Or even throw UOE when creating the unsupported option?)
-------------
PR: https://git.openjdk.org/panama-foreign/pull/771
More information about the panama-dev
mailing list