mojarra icon indicating copy to clipboard operation
mojarra copied to clipboard

UIComponent passThroughAttributes implemented as ConcurrentHashMap. Why?

Open javaserverfaces opened this issue 10 years ago • 4 comments
trafficstars

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.

javaserverfaces avatar Aug 18 '15 18:08 javaserverfaces

Reported by @edburns

javaserverfaces avatar Aug 18 '15 18:08 javaserverfaces

Issue-Links: is related to JAVASERVERFACES-4020

javaserverfaces avatar Aug 18 '15 18:08 javaserverfaces

This issue was imported from java.net JIRA JAVASERVERFACES-4019

javaserverfaces avatar May 02 '17 10:05 javaserverfaces

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

edburns avatar Oct 29 '17 03:10 edburns