Dotty Documentation

0.17.0-bin-SNAPSHOT

object LazyVals
extends Object with Serializable

Helper methods used in thread-safe lazy vals.

[-] Constructors

[-] Members

[+] object Names
[+] final val BITS_PER_LAZY_VAL : 2L
[+] private final val LAZY_VAL_MASK : 3L
[+] private val base : Int
[+] private final val debug : false
[+] private val monitors : Array [ Object ]
[+] private val unsafe : Unsafe
[+] 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
[+] private def getMonitor ( obj: Object , fieldId: Int ) : Object
[+] private def getMonitor$default$2 : Int
[+] def getOffset ( clz: Class [ Nothing <: Any ] , 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