frankliee commented on PR #197:
URL: 
https://github.com/apache/incubator-uniffle/pull/197#issuecomment-1246307602

   > For example, is is possible to read stale `size` if context switch happens 
before line 66:
   > 
   > 
https://github.com/apache/incubator-uniffle/blob/ec00ad91c72dc23b3e81b5d9abe815438b0f5bcf/server/src/main/java/org/apache/uniffle/server/buffer/ShuffleBuffer.java#L61-L67
   
   Reading long type (x86_64 word) is already atomic with or without 
synchronized. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to