jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Deparvu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-8234) Reduce object allocation in PermissionProviderImpl for admin sessions
Date Wed, 24 Apr 2019 14:39:00 GMT

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

Alex Deparvu resolved OAK-8234.
    Resolution: Fixed

thanks for the continuous review [~anchela]!
fixed with http://svn.apache.org/viewvc?rev=1858054&view=rev

> Reduce object allocation in PermissionProviderImpl for admin sessions
> ---------------------------------------------------------------------
>                 Key: OAK-8234
>                 URL: https://issues.apache.org/jira/browse/OAK-8234
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, security
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Major
>             Fix For: 1.14.0
> There was already a lot of work done here to improve efficiency of admin sessions, but
we can still do better by simply not creating many of the objects needed as parameters for
the {{CompiledPermissions}} which will be ignored anyway in the case of admin sessions.
> Ex: There are a lot of immutable trees (created via {{PermissionUtil.getReadOnlyTree(tree,
immutableRoot)}}) that are not used for the evaluation.
> Thanks to [~mreutegg] for spotting this one!

This message was sent by Atlassian JIRA

View raw message