You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2009/08/26 07:42:59 UTC
[jira] Reopened: (SYNAPSE-572) XSLT Mediator possibility of
creating multiple Templates by mutiple threads
[ 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org