You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yinyinnie (via GitHub)" <gi...@apache.org> on 2023/10/06 02:29:40 UTC

Re: [PR] [ISSUE 4902]fix-warmMappedFile:Place a safepoint before the loop, the processing effect takes precedence over sleep [rocketmq]

yinyinnie commented on PR #4903:
URL: https://github.com/apache/rocketmq/pull/4903#issuecomment-1749900720

   循环体内不是已经有方法调用了嘛: `byteBuffer.put((int) i, (byte) 0);`  难道这个方法调用不能当做“安全点”?
   我猜测不能当安全点的原因是:JIT在编译byteBuffer.put((int) i, (byte) 0); 这段代码的时候,会进行内联操作?


-- 
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: commits-unsubscribe@rocketmq.apache.org

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