You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2014/09/19 11:59:34 UTC

[jira] [Commented] (SANTUARIO-394) Performance issue with getting XML parsers

    [ https://issues.apache.org/jira/browse/SANTUARIO-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140267#comment-14140267 ] 

Colm O hEigeartaigh commented on SANTUARIO-394:
-----------------------------------------------


Any sign of a patch for this issue?

Colm.

> Performance issue with getting XML parsers
> ------------------------------------------
>
>                 Key: SANTUARIO-394
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-394
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>            Reporter: Anli Shundi
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: Java 1.5.8, Java 2.0.3
>
>         Attachments: SANTUARIO-394-thread-local.patch
>
>
> Creating a new parser factory and instantiating a new parser is expensive during frequent decryptions.  The attached patch uses a thread-local cache of DocumentBuilderFactory-s



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)