[
https://issues.apache.org/jira/browse/SYNAPSE-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Supun Kamburugamuva reopened SYNAPSE-572:
-----------------------------------------
The patch I've submitted doesn't address the problem with double checked
locking with Java.
http://www.ibm.com/developerworks/java/library/j-dcl.html
Also making a variable volatile can be costly than synchronization. So I'm
submitting a new patch.
Supun..
> XSLT Mediator possibility of creating multiple Templates by mutiple threads
> ---------------------------------------------------------------------------
>
> Key: SYNAPSE-572
> URL: https://issues.apache.org/jira/browse/SYNAPSE-572
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Reporter: Supun Kamburugamuva
> Assignee: Ruwan Linton
> Fix For: 1.3, NIGHTLY
>
> Attachments: synapse-572.patch, synapse-572_1.patch
>
>
> With the current code multiple threads can create the XSLT template after
> seeing that the cache has expired. Also we are always doing a synchronization
> for creating the template which can be costly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]