Robert Varga e1cfcbcda6 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>
2016-02-19 21:02:59 +00:00
..
2016-02-01 04:07:26 +00:00
2016-02-09 11:23:26 +01:00
2016-02-10 16:29:30 +01:00