shy-share commented on PR #4903:
URL: https://github.com/apache/rocketmq/pull/4903#issuecomment-1231322548

   > why the comment of sleep call is 'prevent gc'? In fact it's helping gc, 
right?
   
   @Knowden  In fact, it can't prevent gc, it main purpose is to increase gc 
frequency and reduce single gc time.
   refer to 
[why-thread-sleep0-can-prevent-gc-in-rocketmq](https://stackoverflow.com/questions/53284031/why-thread-sleep0-can-prevent-gc-in-rocketmq)


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

Reply via email to