HeartSaVioR edited a comment on pull request #30139:
URL: https://github.com/apache/spark/pull/30139#issuecomment-717022097


   Sorry but your latest change doesn't actually lock properly. Long is 
immutable, and you always replace the object when you do the calculation and 
assign to the field, which is used as a lock. Your best try would be changing 
it to long, and have a separate Object field as locking purpose.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to