[gatein-issues] [JBoss JIRA] Resolved: (GTNCOMMON-8) Remove unnecessary blocking method call (2s)
Julien Viet (JIRA)
jira-events at lists.jboss.org
Thu Dec 17 12:08:30 EST 2009
[ https://jira.jboss.org/jira/browse/GTNCOMMON-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Viet resolved GTNCOMMON-8.
---------------------------------
Resolution: Done
> Remove unnecessary blocking method call (2s)
> --------------------------------------------
>
> Key: GTNCOMMON-8
> URL: https://jira.jboss.org/jira/browse/GTNCOMMON-8
> Project: GateIn Common
> Issue Type: Task
> Reporter: Julien Viet
> Assignee: Julien Viet
> Fix For: 2.0.0-CR03
>
>
> The class (written by myself :-) ) DefaultLocaleFormat prepopulates a Map<String, Locale> cache via the class LocaleManager that delegates to the Locale#getAvailableLocales(). The last call last about 2 seconds and is blocking.
> This is called when portlets are deployed as it uses the locale stuff to populate locale and bundle of a portlet container.
> This is a very cheap way to save 2 seconds of boot time (on my machine again) and also simplify the code (remove one not really useful class).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list