[GitHub] logging-log4j2 pull request #92: Consider the StringBuilder's capacity inste...

2017-07-25 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/logging-log4j2/pull/92 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] logging-log4j2 pull request #92: Consider the StringBuilder's capacity inste...

2017-07-12 Thread garydgregory
Github user garydgregory commented on a diff in the pull request: https://github.com/apache/logging-log4j2/pull/92#discussion_r127092555 --- Diff: log4j-core/src/test/java/org/apache/logging/log4j/core/layout/AbstractStringLayoutTest.java --- @@ -59,12 +59,14 @@ public void

[GitHub] logging-log4j2 pull request #92: consider the StringBuilder's capacity inste...

2017-07-11 Thread xnslong
GitHub user xnslong opened a pull request: https://github.com/apache/logging-log4j2/pull/92 consider the StringBuilder's capacity instead of content length when do the trim The trim operation aims at releasing the too much memory occupied by the `StringBuilder`. So when the