myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Breijo (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Updated] (MYFACES-4202) [perf] FacesServletMappingUtils.isFacesServlet calls ClassUtils.simpleClassForName on every request
Date Thu, 15 Feb 2018 16:53:00 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eduardo Breijo updated MYFACES-4202:
------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> [perf] FacesServletMappingUtils.isFacesServlet calls ClassUtils.simpleClassForName on
every request
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4202
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4202
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-372
>    Affects Versions: 2.3.0-beta
>            Reporter: Eduardo Breijo
>            Assignee: Eduardo Breijo
>            Priority: Major
>             Fix For: 2.3.0
>
>         Attachments: MYFACES-4202.patch
>
>
> FacesServletMappingUtils.isFacesServlet is invoked on every request. This means that ClassUtils.simpleClassForName()
will also be invoked on every request. We need to cache the boolean value for each servletClassName
to improve performance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message