vlsi edited a comment on issue #1875: [CALCITE-3873] Use global caching for 
ReflectiveVisitDispatcher implementation
URL: https://github.com/apache/calcite/pull/1875#issuecomment-610846372
 
 
   > it describes "Weak values will be garbage collected once they are weakly 
reachable. This makes them a poor candidate for caching; consider {@link 
#softValues} instead."
   
   The keys can still reference classes and retain them from the garbage 
collector.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to