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

Marcel Reutegger closed OAK-1964.
---------------------------------


> Performance degradation due to SessionDelegate.WarningLock
> ----------------------------------------------------------
>
>                 Key: OAK-1964
>                 URL: https://issues.apache.org/jira/browse/OAK-1964
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.0.2, 1.1
>            Reporter: Thomas Mueller
>            Assignee: Michael Dürig
>              Labels: Performance
>             Fix For: 1.1, 1.0.3
>
>
> In OAK-1703, we have added a new class WarningLock that internally uses an 
> Exception to remember the stack trace. This seems to be used for every 
> SessionDelegate object. With Java 6 and older, this is very problematic 
> because it will cause "java.lang.Throwable.fillInStackTrace(Native Method)" 
> to be called for almost every call to any of the Oak JCR methods, and 
> "fillInStackTrace(Native Method)" is known to be be very slow. Java 7, I 
> believe, will at some point give up and not fill in the stack trace any more. 
> But with Java 6 and older, this is a big problem.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to