tydhot opened a new pull request #474: URL: https://github.com/apache/incubator-eventmesh/pull/474
in this class, complete only change false to true and never will be false again. And when you want to use get() in atomicBoolean, is just return a volatile boolean. If we use volatile here instead atomicBoolean, we will reduce each meaningless CAS check and there's no difference with before. -- 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]
