[
https://issues.apache.org/jira/browse/OAK-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680195#comment-14680195
]
Joel Richard edited comment on OAK-3153 at 8/10/15 2:37 PM:
------------------------------------------------------------
[~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.
*Edit:* I have just seen that you asked for a threshold of 1000 above. Can you
please have a look at the code anyway and if there are some other things you
would like me to change I will make all changes at once.
was (Author: joelrich):
[~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
(v6.3.4#6332)