[ 
https://issues.apache.org/jira/browse/PLUTO-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924259#action_12924259
 ] 

Ate Douma commented on PLUTO-601:
---------------------------------

OK. Your changes at least should improve the JAXBContext overhead then!
(500-1000ms is quite a lot, as are 75 webapps ...)

Cheers, Ate
 

> 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