From: Robert Varga Date: Thu, 28 Apr 2022 08:06:34 +0000 (+0200) Subject: Reduce volatile variable access X-Git-Tag: v9.0.3~18 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=221e59a1ffa68caff0ca09e124b20d084f4e8be9;hp=221e59a1ffa68caff0ca09e124b20d084f4e8be9;p=mdsal.git Reduce volatile variable access The checkState() and verify() calls are costing us a superfluous access after we have already accessed the volatile field. Refactor them to prevent that. Change-Id: I07c552593a89fb8929985ac637c6fba576b4e659 Signed-off-by: Robert Varga (cherry picked from commit 18cb8f2e949db76fb72bfa08921ba6c73a707ec6) ---