mojarra
mojarra copied to clipboard
UIComponent passThroughAttributes implemented as ConcurrentHashMap. Why?
From Kevin Jackson:
KJ> 1) In UIComponentBase, PassThroughAttributesMap is a ConcurrentHashMap. KJ> I see several other maps in this class and they are all ordinary KJ> HashMaps. Since ConcurrentHashMaps are so much heavier than HashMaps, KJ> there must be something that I am missing here. Why did you use a KJ> ConcurrentHashMap for pass thru attributes? From what I understand, the KJ> component tree can only be accessed from one thread at a time.
Reported by @edburns
Issue-Links: is related to JAVASERVERFACES-4020
This issue was imported from java.net JIRA JAVASERVERFACES-4019
Please see this important message regarding community contributions to Mojarra.
https://javaee.groups.io/g/jsf-spec/message/30
Also, please consider joining that group, as that group has taken the place of the old [email protected] mailing list.
Thanks,
Ed Burns