All state transitions in this class are based on lock-free
algorithms -- compare-and-swap and retries on conflict.
Eliminate unneeded synchronized keywords, plus inline simple
single-use methods.
Change-Id: I87e22333bb6c3c4db324c5918481fe79d5da2592
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit
7d465def070bd22e0ad3836119449b3063074e13)