summaryrefslogtreecommitdiffstats
path: root/vpp-api-test
diff options
context:
space:
mode:
authorRobert Varga <nite@hq.sk>2016-02-14 02:10:18 +0100
committerGerrit Code Review <gerrit@fd.io>2016-02-19 21:02:59 +0000
commite1cfcbcda62a94caffc3cf2a40f3440d3752f9d9 (patch)
treed70e953694948b12afd0e22a302407b64d7fb5a2 /vpp-api-test
parent9b7057fe36d00adc136b4f41c699041c1591635d (diff)
Rebalance checkConnected()
AtomicBoolean forces the enclosed boolean to be cache-aligned, needlessly hitting a cacheline. Since we only flip state only once, when the connection is severed, we can turn this into a volatile boolean. Doing that is costing us a synchronized close(), but that is perfectly acceptable, as that is called only once. Change-Id: I76fda3d3f65a5f800e7d3970b0b8fe99fb3e8b6d Signed-off-by: Robert Varga <nite@hq.sk>
Diffstat (limited to 'vpp-api-test')
0 files changed, 0 insertions, 0 deletions