You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/05/22 09:50:48 UTC

[GitHub] [rocketmq] RongtongJin commented on issue #2023: no use to create byteBufferNew in function MappedFile#selectMappedBuffer(int pos)

RongtongJin commented on issue #2023:
URL: https://github.com/apache/rocketmq/issues/2023#issuecomment-632604247


   I think it is necessary to create. Although byteBuffer and byteBufferNew share the same content, the values of position, limit, and mark are independent. For example, byteBuffer current position is pos, byteBufferNew is 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.

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