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

Eric Dalquist resolved PLUTO-601.
---------------------------------

    Resolution: Fixed

Right now it isn't but some basic testing shows that creating that JAXBContext 
can take 500-1000ms every time. We have some uPortal deployers with more than 
75 webapps and it adds up in Tomcat startup time pretty fast. All the TCK tests 
pass so the changes appear to be safe from that context.

> Remove expensive object creation in PortletAppDescriptorServiceImpl
> -------------------------------------------------------------------
>
>                 Key: PLUTO-601
>                 URL: https://issues.apache.org/jira/browse/PLUTO-601
>             Project: Pluto
>          Issue Type: Improvement
>          Components: portlet container
>            Reporter: Eric Dalquist
>            Assignee: Eric Dalquist
>             Fix For: 2.0.3, 2.1.0
>
>
> PortletAppDescriptorServiceImpl creates new JAXBContext, XMLInputFactory, 
> DocumentBuilderFactory, and Pattern objects every time they are needed. All 
> of these objects are thread-safe once created and configured and should only 
> be created once at the class level and re-used for the life of the class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to