Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Java] Use putIntOrdered in OneToOneRingBuffer#tryClaim in order to e…
…nsure that pre-zeroing of the next message header is done first. (#230) * [Java] Write message body before the header. * [Java] Use `putIntOrdered` to write negative length in the `tryClaim` to ensure that pre-zeroing of the next header happens before the current header is written.
- Loading branch information
1 parent
357eb34
commit 9a6090c
Showing
4 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters