This check is nice to have, but given that the connection might switch to 
closed immediately after this call, I think there is no point in doing a CAS 
operation here.
A `Volatile.Read()` would do it and it's order of magnitude cheaper :) 

[ Full content available at: https://github.com/apache/tinkerpop/pull/1016 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to