You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/08/26 03:17:56 UTC

[GitHub] [lucene] ben-manes commented on pull request #11715: Add Integer awareness to RamUsageEstimator.sizeOf

ben-manes commented on PR #11715:
URL: https://github.com/apache/lucene/pull/11715#issuecomment-1228006073

   > I don't recommend to use caffeine because it uses Unsafe....
   
   @uschindler fyi Caffeine 3.x does not use Unsafe, which is what Solr uses. Unfortunatelly we did not have any good options prior to Java 9 (VarHandles), as atomic references would add memory bloat and atomic field updaters would use reflection. When Solr updated to Java 11 it was able to make the switch.


-- 
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-unsubscribe@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org