https://bz.apache.org/bugzilla/show_bug.cgi?id=69532
--- Comment #5 from John Engebretson <jeng...@amazon.com> --- Created attachment 39979 --> https://bz.apache.org/bugzilla/attachment.cgi?id=39979&action=edit Tomcat 9 proposed patch I've attached a patch that improves on the current state in lots of ways: 1. No locking 2. No object allocation, after initialization 3. No GC leaks of CacheKey instances 4. Speed improvements > 50% Data is stored in WeakHashMaps, which are modified in a thread-safe manner via copy-and-modify then compareAndSwap. Thoughts? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org