[jboss-jira] [JBoss JIRA] (LOGMGR-161) AsyncHandler is always creating a stacktrace dump

David Lloyd (JIRA) issues at jboss.org
Tue Jun 13 07:30:09 EDT 2017


    [ https://issues.jboss.org/browse/LOGMGR-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420469#comment-13420469 ] 

David Lloyd commented on LOGMGR-161:
------------------------------------

Note that in Java 9 and later, the operation becomes substantially less expensive due to the StackWalker API.

> AsyncHandler is always creating a stacktrace dump
> -------------------------------------------------
>
>                 Key: LOGMGR-161
>                 URL: https://issues.jboss.org/browse/LOGMGR-161
>             Project: JBoss Log Manager
>          Issue Type: Enhancement
>          Components: core
>    Affects Versions: 2.1.0.Alpha1
>            Reporter: Koen Janssens
>
> I have noticed that when introducing an AsyncHandler for logging, all log statement are copied before being put on the queue and as part of that copy a complete stack dump is done. 
> This might be useful if the stack info is used by a downstream formatter (eg for line number identification), but even if the line numbers are not used anywhere, this still happens. 
> I think this behavior should be at least optional. 
> Source Location: org.jboss.logmanager.ExtLogRecord#copyAll



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list