thread contention on OGNL ClassCasheImpl
----------------------------------------
Key: WW-3201
URL: https://issues.apache.org/struts/browse/WW-3201
Project: Struts 2
Issue Type: Sub-task
Reporter: Musachy Barroso
Assignee: Musachy Barroso
Fix For: Future
OGNL has a custom map implementation(ognl.internal.ClassCacheImpl) where it
keeps a cache from Class->Object. In OgnlRuntime, there are several caches that
use this implementation and OgnlRuntime synchronizes on it often.
Suggested solution: replace the internal implementation of a map in
ClassCacheImpl by ConcurrentHashMap. Because these caches are mostly readonly,
this will reduce thread contention.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.