Repository: logging-log4j2 Updated Branches: refs/heads/master a79425884 -> 78bb531fe
LOG4J2-1297 garbagefree.xml small fixes Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/78bb531f Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/78bb531f Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/78bb531f Branch: refs/heads/master Commit: 78bb531fec0a20ee8b0489a732b97c51b45434ae Parents: a794258 Author: rpopma <[email protected]> Authored: Sun Apr 3 02:08:09 2016 +0900 Committer: rpopma <[email protected]> Committed: Sun Apr 3 02:08:09 2016 +0900 ---------------------------------------------------------------------- src/site/xdoc/manual/garbagefree.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/78bb531f/src/site/xdoc/manual/garbagefree.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/manual/garbagefree.xml b/src/site/xdoc/manual/garbagefree.xml index a3f9fbd..a2ce8bd 100644 --- a/src/site/xdoc/manual/garbagefree.xml +++ b/src/site/xdoc/manual/garbagefree.xml @@ -47,15 +47,15 @@ does nothing but logging a simple string for about 12 seconds. </p> <p> - The application is configured to use Async Loggers, a RandomAccessFile appender and a - "%d %p %c{1.} [%t] %X{aKey} %m %ex%n" pattern layout). + The application was configured to use Async Loggers, a RandomAccessFile appender and a + "%d %p %c{1.} [%t] %m %ex%n" pattern layout. It logged about 8.5 million messages and generated a ~600MB log file. </p> <p> Mission Control shows that with Log4j 2.5 this application allocated memory at a rate of about 809 MB/sec, - resulting in 141 minor collections, with an average pause time of 7 ms. + resulting in 141 minor collections. Log4j 2.6 does not allocate temporary objects in this configuration, and as a result - the same application with Log4j 2.6 had an allocation rate of 1.6 MB/sec and 0 (zero) garbage collections. + the same application with Log4j 2.6 had a memory allocation rate of 1.6 MB/sec and 0 (zero) garbage collections. </p> <table> <tr>
