[ 
https://issues.apache.org/jira/browse/OAK-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689537#comment-16689537
 ] 

Julian Reschke edited comment on OAK-7906 at 11/16/18 3:57 PM:
---------------------------------------------------------------

Maybe 
<[http://mail.openjdk.java.net/pipermail/security-dev/2018-October/018591.html]>?

In particular:
{quote}This change implements AccessController.doPrivileged in Java. This 
 gives a performance improvement while also being useful to Project Loom 
 by removing the Java --> native --> Java transition. One reason 
 doPrivileged has historically been in native is because of the need to 
 guarantee the cleanup of the privileged context when doPrivileged 
 returns. *_To do that in Java, the information that_* 
 *_AccessController.getContext needs is pushed onto the Java stack as_* 
 *_arguments to a method that getContext will recognize during its stack_* 
 *_walk. This allows us to remove the native privileged stack while_* 
 *_guaranteeing that the privileged context goes away when the method returns._*
{quote}


was (Author: reschke):
Maybe 
<http://mail.openjdk.java.net/pipermail/security-dev/2018-October/018591.html>?

> StackOverFlowError 
> SessionStatsTest.testInitStackTraceEnabledAfterOpeningManySessions with jdk-12
> -------------------------------------------------------------------------------------------------
>
>                 Key: OAK-7906
>                 URL: https://issues.apache.org/jira/browse/OAK-7906
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.9.11
>            Reporter: Julian Reschke
>            Priority: Major
>              Labels: Java12
>
> Happens with version 20 (2018/11/15).
> It appears that the StackOverflowError happens when obtaining many sessions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to