uschindler commented on PR #12013:
URL: https://github.com/apache/lucene/pull/12013#issuecomment-1347501489

   Please remove the cache. Totally useless. It hurts more because the escape 
analysis can't work.
   When tiered compilation stepped in, this is just a useless extra
   
   My rule: Never ever cache object instances to prevent object creation and 
help GC. This was needed in in Java 6 and java 7, but not anymore. It has 
opposite problem: it actually creates those objects on heap and stresses GC.


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