Class ManagedMutVar
java.lang.Object
thc.runtime.ManagedMutVar
One mutable guest reference. Reading storage never enters its thunk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompareExchange(Object expected, Object replacement) static ObjectcompletedBoxedIdentity(Object value) Completed updates are CAS indirections.getValue()modify(Object function, MutVarModifySite site) static ManagedMutVarvoid
-
Constructor Details
-
ManagedMutVar
-
-
Method Details
-
getValue
-
setValue
-
completedBoxedIdentity
Completed updates are CAS indirections. All other states stay opaque. -
exchange
-
compareExchange
-
modify
-
require
-