stefanvodita opened a new issue, #12734: URL: https://github.com/apache/lucene/issues/12734
### Description `ByteBlockPool.reset` can fill the buffers we're recycling with zeros. 1. Do we need the buffers to be filled with zeros? Is there some implicit assumption if we were to reuse them that we would only encounter zeros? 2. If yes, should the responsibility move from `ByteBlockPool` to the `Allocator`'s `recycleByteBlocks` method? The `ByteBlockPool` loses its reference to the buffers it's just zeroed, so it seems outside its concern to zero the buffers. The `Allocator` could zero the buffers in its recycle method if it needs to. -- 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: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org