Join Slack
Powered by
TL;DR: If you use `AtomicReferenceFieldUpdater` ju...
# coroutines
e
elizarov
01/04/2017, 11:57 AM
TL;DR: If you use
AtomicReferenceFieldUpdater
just like in my code (with static final var), then you code will get compiled to the native CAS instructions in your CPU (
CMPXCHG
for Intel) without any overhead.
🎉 1
Open in Slack
Previous
Next