madrob commented on PR #11715:
URL: https://github.com/apache/lucene/pull/11715#issuecomment-1225979052

   We saw some weird behavior in Solr with a size-limited Caffeine cache not 
getting as many entries as we thought it should have. That turned out to be 
because sizeOf(Integer) was returning 1024 (Solr's default guess for how big 
something is), and while investigating that missing piece, I found the 
incongruity between the comments and the code around LongCache.


-- 
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

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

Reply via email to