Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make AllocatedPersistentTask members volatile (elastic#2297)
These members are default initialized on contruction and then set by the init() method. It's possible that another thread accessing the object after init() is called could still see the null/0 values, depending on how the compiler optimizes the code.
- Loading branch information