Clone
Murtadha Makki Al Hubail
committed
on 06 Aug 19
[NO ISSUE][NET] Ensure Recycling Buffer and Notifying Sender is Atomic
- user model changes: no
- storage format changes: no
- interface cha… Show more
[NO ISSUE][NET] Ensure Recycling Buffer and Notifying Sender is Atomic

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- To avoid synchronization issues that might occur

 due to JVM reordering, ensure that both recycling

 read buffers and notifying the sender  of their

 availability are done atomically before the next

 buffer is received from the sender.

Change-Id: Ia3b1920f33bf7d4e7efbd2ea3405cbc4310a78c7

Reviewed-on: https://asterix-gerrit.ics.uci.edu/3520

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

Reviewed-by: Till Westmann <tillw@apache.org>

Show less