[foreign-preview] RFR: 8280596: ScopedMemoryAccess_closeScope: remove exception parameter

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Feb 3 16:36:26 UTC 2022


On Thu, 3 Feb 2022 16:16:39 GMT, Julia Boes <jboes at openjdk.org> wrote:

> This change removes the trailing exception parameter in ScopedMemoryAccess_closeScope, which is now unused. 
> (Plus some unrelated minimal doc cleanup that removes mentions of the old SymbolLookup class.)

src/hotspot/share/prims/scopedMemoryAccess.cpp line 168:

> 166: 
> 167: static JNINativeMethod jdk_internal_misc_ScopedMemoryAccess_methods[] = {
> 168:     {CC "closeScope0",   CC "(" SCOPE ")Z",           FN_PTR(ScopedMemoryAccess_closeScope)},

Uhmm - it seems like the method declaration for `ScopedMemoryAccess_closeScope` still has a trailing exception object (further down in this file)

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

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


More information about the panama-dev mailing list