Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make AbstractChannel.outboundBuffer volatile.
Motivation: The field can be read from arbitrary threads via Channel.(isWritable()|bytesBeforeWritable()|bytesBeforeUnwritable()), WriteAndFlushTask.newInstance(), PendingWriteQueue, etc. Modifications: Make AbstractChannel.outboundBuffer volatile. Result: More correct in a concurrent use case.
- Loading branch information