huanzhikang commented on issue #9491: URL: https://github.com/apache/rocketmq/issues/9491#issuecomment-2991407922
After swapping the referenced objects between requestsRead and requestsWrite, the object referenced by requestsRead is only used within the GroupCommitService thread (ensured by lock and unlock), so it does not need to be declared as volatile. -- 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]
