[foreign-memaccess+abi] RFR: 8313680: Disallow combining caputreCallState with isTrivial

Jorn Vernee jvernee at openjdk.org
Fri Aug 4 11:07:06 UTC 2023


Native functions that modify call state (errno) are by definition not 'trivial'. Capturing call state would also prevent intrinsification of a trivial call. I think to be on the safe side, we just want to disallow combining these two for now.

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

Commit messages:
 - add negative test case
 - disallow combining captureCallState & isTrivial

Changes: https://git.openjdk.org/panama-foreign/pull/856/files
 Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=856&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8313680
  Stats: 66 lines in 6 files changed: 11 ins; 31 del; 24 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/856.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign.git pull/856/head:pull/856

PR: https://git.openjdk.org/panama-foreign/pull/856


More information about the panama-dev mailing list