RFR: 8298277: Replace "session" with "scope" for FFM access

Jorn Vernee jvernee at openjdk.org
Wed Dec 7 23:00:08 UTC 2022


On Wed, 7 Dec 2022 21:55:43 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR suggests renaming various names from "session" to "scope" in accordance with https://openjdk.org/jeps/434
> 
> The PRs contains changes for several sub-components.

src/java.base/share/classes/jdk/internal/foreign/MemoryScopeImpl.java line 53:

> 51:  * access is possible when a scope is being closed (see {@link jdk.internal.misc.ScopedMemoryAccess}).
> 52:  */
> 53: public abstract sealed class MemoryScopeImpl

Since the interface is called `SegmentScope`, I think `SegmentScopeImpl` would be a better name here.

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

PR: https://git.openjdk.org/jdk/pull/11573



More information about the security-dev mailing list