]
Kabir Khan updated WFCORE-2112:
-------------------------------
Affects Version/s: 3.0.0.Alpha15
Non atomic update of volatile fields in ManagedServerSocketBinding
and GeneralTimeoutHandler
--------------------------------------------------------------------------------------------
Key: WFCORE-2112
URL:
https://issues.jboss.org/browse/WFCORE-2112
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.0.Alpha15
Reporter: Rostislav Svoboda
Assignee: Kabir Khan
https://github.com/wildfly/wildfly-core/blob/master/network/src/main/java...
https://github.com/wildfly/wildfly-core/blob/master/protocol/src/main/jav...
Volatile fields are not synchronized on update.
I think {{AtomicLong}} could be used instead of {{volatile long}} or update should be
synchronized.