paulk-asert commented on code in PR #2868:
URL: https://github.com/apache/groovy/pull/2868#discussion_r3929548795
##########
subprojects/groovy-servlet/src/main/java/groovy/servlet/TemplateServlet.java:
##########
@@ -187,7 +187,7 @@ public String toString() {
* Create new TemplateServlet.
*/
public TemplateServlet() {
- this.cache = new WeakHashMap<String, TemplateCacheEntry>();
+ this.cache = new ConcurrentHashMap<String, TemplateCacheEntry>();
Review Comment:
In the PDF, I sent out-of-band, you will see that the existing
implementation never fulfilled the memory sensitive idea, but I'll do some
further work.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]