LazyVals

object LazyVals

Helper methods used in thread-safe lazy vals.

Source:
LazyVals.scala
class Object
trait Matchable
class Any

Type members

Classlikes

object Names

Value members

Concrete methods

def CAS(t: Object, offset: Long, e: Long, v: Int, ord: Int): Boolean
def STATE(cur: Long, ord: Int): Long
def get(t: Object, off: Long): Long
def getOffset(clz: Class[_], name: String): Long
def setFlag(t: Object, offset: Long, v: Int, ord: Int): Unit
def wait4Notification(t: Object, offset: Long, cur: Long, ord: Int): Unit

Concrete fields

final val BITS_PER_LAZY_VAL: 2L