[foreign-memaccess] RFR: 8253472: Hotspot code should special case ScopedAccessError

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue Sep 22 13:14:02 UTC 2020


There are a number of places where compiled code clears all pending exception; this operation did not take into account
async exception and a recent fix has been introduced to rectify this: JDK-8249451. The fix checks for the type of the
pending exception and disables the clearing for a selectd subbset of exception types. We should add ScopedAccessError
to the list, to future-proof the shared memory segment support.

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

Commit messages:
 - Fix hotspot code to special case scoped access errors

Changes: https://git.openjdk.java.net/panama-foreign/pull/353/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=353&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253472
  Stats: 4 lines in 3 files changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/353.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/353/head:pull/353

PR: https://git.openjdk.java.net/panama-foreign/pull/353


More information about the panama-dev mailing list