Repository: logging-log4j2
Updated Branches:
  refs/heads/master bd0693983 -> 566b76b90


LOG4J2-1680 Make TimeFilter garbage-free


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/566b76b9
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/566b76b9
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/566b76b9

Branch: refs/heads/master
Commit: 566b76b9030bcec74debae41f241b6b2a7e00679
Parents: bd06939
Author: rpopma <rpo...@apache.org>
Authored: Sun Nov 13 22:09:59 2016 +0900
Committer: rpopma <rpo...@apache.org>
Committed: Sun Nov 13 22:09:59 2016 +0900

----------------------------------------------------------------------
 .../main/java/org/apache/logging/log4j/core/filter/TimeFilter.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/566b76b9/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/TimeFilter.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/TimeFilter.java 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/TimeFilter.java
index 4c09161..564059a 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/TimeFilter.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/filter/TimeFilter.java
@@ -31,11 +31,13 @@ import org.apache.logging.log4j.core.config.plugins.Plugin;
 import org.apache.logging.log4j.core.config.plugins.PluginAttribute;
 import org.apache.logging.log4j.core.config.plugins.PluginFactory;
 import org.apache.logging.log4j.message.Message;
+import org.apache.logging.log4j.util.PerformanceSensitive;
 
 /**
  * Filters events that fall within a specified time period in each day.
  */
 @Plugin(name = "TimeFilter", category = Node.CATEGORY, elementType = 
Filter.ELEMENT_TYPE, printObject = true)
+@PerformanceSensitive("allocation")
 public final class TimeFilter extends AbstractFilter {
 
     /**

Reply via email to