[ https://issues.apache.org/jira/browse/WICKET-6769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Heigl updated WICKET-6769: --------------------------------- Attachment: screenshot-1.png > InMemoryPageStore customizable map implementation > ------------------------------------------------- > > Key: WICKET-6769 > URL: https://issues.apache.org/jira/browse/WICKET-6769 > Project: Wicket > Issue Type: Improvement > Components: wicket > Affects Versions: 9.0.0-M5 > Reporter: Sven Meier > Assignee: Sven Meier > Priority: Major > Fix For: 9.0.0-M6 > > Attachments: screenshot-1.png > > > In Wicket 8 PerSessionPageStore utilized SoftReferences to build a cache of > pages in cooperation with the GC. > The experts seem to agree that depending on the GC to clean up caches is a > bad idea: > https://stackoverflow.com/questions/264582/is-there-a-softhashmap-in-java > http://jeremymanson.blogspot.com/2009/07/how-hotspot-decides-to-clear_07.html > Instead of replicating the old feature, the new InMemoryPageStore should > allow to be customized with a map implementation. This allows applications to > utilize different map-based caches, e.g. https://github.com/ben-manes/caffeine -- This message was sent by Atlassian Jira (v8.3.4#803005)