Zone

Companion:
class
class Object
trait Matchable
class Any
Zone.type

Value members

Concrete methods

final def acquire[T](f: Zone => T): T

Run given function with a fresh zone and destroy it afterwards.

Run given function with a fresh zone and destroy it afterwards.

final def open(): Zone

Create a new zone allocator. Use Zone#close to free allocations.

Create a new zone allocator. Use Zone#close to free allocations.

Inherited methods

inline def apply[T](inline f: Zone ?=> T): T

Run given function with a fresh zone and destroy it afterwards.

Run given function with a fresh zone and destroy it afterwards.

Inherited from:
ZoneCompanionScalaVersionSpecific