You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2020/08/28 12:43:01 UTC
[jira] [Closed] (SLING-9631) Avoid read/write lock when processing
requests
[ https://issues.apache.org/jira/browse/SLING-9631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu closed SLING-9631.
----------------------------------
> Avoid read/write lock when processing requests
> ----------------------------------------------
>
> Key: SLING-9631
> URL: https://issues.apache.org/jira/browse/SLING-9631
> Project: Sling
> Issue Type: Improvement
> Components: Authentication
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Auth Core 1.5.0
>
>
> The PathBasedHolderCache is using a read/write lock to synchronize changes and read access (on every access). We can avoid that lock for reading by switching to a concurrent map and just synchronize the writing
--
This message was sent by Atlassian Jira
(v8.3.4#803005)