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 2020/08/05 08:54:00 UTC
[jira] [Created] (SLING-9631) Avoid read/write lock when processing
requests
Carsten Ziegeler created SLING-9631:
---------------------------------------
Summary: 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
Fix For: Auth Core 1.4.10
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)