foxeatsspicy opened a new issue, #4902:
URL: https://github.com/apache/rocketmq/issues/4902

   如题
   MappedFile 类,507~527行这个循环,把循环的i、j改成long类型。删除掉522行的Thread.sleep(0)。
   
![修改](https://user-images.githubusercontent.com/31239424/186868037-eb6bb37b-0b78-4e0f-8a6b-07c129d0abc3.png)
   
   这么改,关于gc方面的优化,效果会不会更好?代码看着也会更加优雅


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