# Uses of Interface
java.lang.foreign.Arena

Packages that use ArenaPREVIEW
Package
Description
java.lang.foreign
Provides low-level access to memory and functions outside the Java runtime.

- ## Uses of ArenaPREVIEW in java.lang.foreign

  Methods in java.lang.foreign that return ArenaPREVIEW
  Modifier and Type
  Method
  Description
  `static ArenaPREVIEW`
  Arena.`openConfined()`
  Returns a new confined arena, owned by the current thread.
  `static ArenaPREVIEW`
  Arena.`openShared()`
  Returns a new shared arena.