You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/06/22 17:14:07 UTC

[jira] Resolved: (SLING-1017) JCR Resource Resolver 2 generates the same immutable array of JcrResourceTypeProviders on each request.

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

Carsten Ziegeler resolved SLING-1017.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: JCR Resource 2.0.6
         Assignee: Carsten Ziegeler

Thanks for your patch Ian, it's applied in revision: 787268
Can you please cross check and close this bug?
Thanks

> JCR Resource Resolver 2 generates the same immutable array of JcrResourceTypeProviders on each request.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-1017
>                 URL: https://issues.apache.org/jira/browse/SLING-1017
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Resource
>    Affects Versions: JCR Resource 2.0.6
>            Reporter: Ian Boston
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.6
>
>         Attachments: SLING-1017.path
>
>
> THe JCR Resource Resolver creates 1 array of JcrResourceTypeProviders per request, even if there has been no change to the array. The Array is immutable once created and so it should really be created on change not on request.
> The creation of this array alos synchronizes all request, which is probably not great for scalability.
> patch to follow

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