dongeforever commented on pull request #3848: URL: https://github.com/apache/rocketmq/pull/3848#issuecomment-1040050655
> It seems to have a concurrent problem. If the reader thread gets the mapped byte buffer and then the cleaner thread cleans it later. It will cause the jvm crash. Usually, the reader thread uses the SelectedByteBuffer, which means the data maybe be read later on. The cleanswap method should be called after the swap method for a long time enough, and also it should check the getRefCount() == 1. -- 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]
