You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2013/01/10 04:59:09 UTC
[Bug 54398] New: Improve AyncAppender's append performance
https://issues.apache.org/bugzilla/show_bug.cgi?id=54398
Bug ID: 54398
Summary: Improve AyncAppender's append performance
Product: Log4j
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Appender
Assignee: log4j-dev@logging.apache.org
Reporter: computer1@163.com
Classification: Unclassified
After issue 23021, AsyncAppender.append() method will invoke
dispatcher.isAlive(). However Thread.isAlive() is a expensive native method. So
its better to improve the code to reduce invoking Thread.isAlive()frequency.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
[Bug 54398] Improve AyncAppender's append performance
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54398
--- Comment #1 from liangly <co...@163.com> ---
Created attachment 29839
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29839&action=edit
Invoke Thread.isAlive() only when buffer is full.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org