An object reference that is always updated atomically.
Legacy MM: An atomic reference to a frozen Kotlin object. Can be used in concurrent scenarious but frequently shall be of nullable type and be zeroed out once no longer needed. Otherwise memory leak could happen. To detect such leaks kotlin.native.runtime.GC.detectCycles in debug mode could be helpful.
Atomically sets the value to the given new value and returns the old value.
fun getAndSet(newValue: T): T
Returns the string representation of this object.
fun toString(): String