[ https://issues.apache.org/jira/browse/MYFACES-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184685#comment-13184685 ]
Leonardo Uribe commented on MYFACES-3266: ----------------------------------------- Attached patch with proposed solution. The idea is call it only when it is necessary. If no objections I'll commit this code soon. > [perf] [concurrency] check correct logger creation > -------------------------------------------------- > > Key: MYFACES-3266 > URL: https://issues.apache.org/jira/browse/MYFACES-3266 > Project: MyFaces Core > Issue Type: Improvement > Reporter: Martin Kočí > Assignee: Martin Kočí > Priority: Trivial > Attachments: MYFACES-3266-1.patch > > > <BLOCKED>java.util.logging.Logger.getLogger(String) > javax.faces.component.UIViewRoot.<init>() > problem is that has non-static logger and logger is requested in every view > init. For a class (static) method, the monitor associated with the Class > object for the method's class is used. > Check myfaces code base for this usage. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira