He-Pin opened a new issue, #1627: URL: https://github.com/apache/pekko/issues/1627
refs: https://github.com/akka/akka/issues/31530 As described in the refs issue, I am including it here. The `queue` is maintained by an Array, and there is a writer and reader index. The max buffer size is limited to 256 by default. So we only need to clean the `startIndex = head & mask` ~ `endIndex = finalOffset & mask`, avoid the loop from which maybe `Int.MinValue` ~ `Int.MaxValue`. -- 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: notifications-unsubscr...@pekko.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org