jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Richard (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-3153) Make it possible to disable recording of stack trace in SessionStats
Date Mon, 10 Aug 2015 14:36:45 GMT

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

Joel Richard updated OAK-3153:
    Attachment: 0001-OAK-3153-Make-it-possible-to-disable-recording-of-st.patch

[~tmueller], I have attached a patch. Can you please review and apply it?

The patch disables the recording of the init stack trace until 2000 concurrent sessions are
open. The threshold can be configured/disabled by setting the oak.sessionStats.initStackTraceThreshold
system property.

> Make it possible to disable recording of stack trace in SessionStats
> --------------------------------------------------------------------
>                 Key: OAK-3153
>                 URL: https://issues.apache.org/jira/browse/OAK-3153
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.3.3
>            Reporter: Joel Richard
>              Labels: performance
>         Attachments: 0001-OAK-3153-Make-it-possible-to-disable-recording-of-st.patch
> For the rendering of some pages we have to create a lot of sessions. Around 9% of the
rendering time is spent inside of RepositoryImpl.login. Half of this time is spent creating
the exception in SessionStats. Therefore, it would be useful if the recording of the exception
could be disabled to improve the performance.

This message was sent by Atlassian JIRA

View raw message