You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2016/02/29 02:57:48 UTC
logging-log4j2 git commit: Document performance sensitivity.
Repository: logging-log4j2
Updated Branches:
refs/heads/master 9d63b0d11 -> 686b90713
Document performance sensitivity.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/686b9071
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/686b9071
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/686b9071
Branch: refs/heads/master
Commit: 686b907137cacf8d2ddf11640dd95f6ac74b06e7
Parents: 9d63b0d
Author: Matt Sicker <bo...@gmail.com>
Authored: Sun Feb 28 19:57:43 2016 -0600
Committer: Matt Sicker <bo...@gmail.com>
Committed: Sun Feb 28 19:57:43 2016 -0600
----------------------------------------------------------------------
.../log4j/message/ReusableParameterizedMessageFactory.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/686b9071/log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableParameterizedMessageFactory.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableParameterizedMessageFactory.java b/log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableParameterizedMessageFactory.java
index c07b930..0950d5d 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableParameterizedMessageFactory.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/message/ReusableParameterizedMessageFactory.java
@@ -16,6 +16,8 @@
*/
package org.apache.logging.log4j.message;
+import org.apache.logging.log4j.util.PerformanceSensitive;
+
/**
* Enables use of <code>{}</code> parameter markers in message strings.
* <p>
@@ -25,6 +27,7 @@ package org.apache.logging.log4j.message;
* This class is immutable.
* </p>
*/
+@PerformanceSensitive("allocation")
public final class ReusableParameterizedMessageFactory extends AbstractMessageFactory {
/**