This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new dc2f0e8  CAMEL-16279: camel-core - Optimize core to reduce object 
allocations by pooloing reusable tasks in the routing engine.
dc2f0e8 is described below

commit dc2f0e82c2f36dc386da871857ff6a8e53359cca
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Mar 9 12:54:03 2021 +0100

    CAMEL-16279: camel-core - Optimize core to reduce object allocations by 
pooloing reusable tasks in the routing engine.
---
 .../java/org/apache/camel/support/PrototypeObjectFactorySupport.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-support/src/main/java/org/apache/camel/support/PrototypeObjectFactorySupport.java
 
b/core/camel-support/src/main/java/org/apache/camel/support/PrototypeObjectFactorySupport.java
index 37482f3..7495c1c 100644
--- 
a/core/camel-support/src/main/java/org/apache/camel/support/PrototypeObjectFactorySupport.java
+++ 
b/core/camel-support/src/main/java/org/apache/camel/support/PrototypeObjectFactorySupport.java
@@ -27,8 +27,8 @@ import org.apache.camel.support.service.ServiceSupport;
  */
 public abstract class PrototypeObjectFactorySupport<T> extends ServiceSupport 
implements PooledObjectFactory<T> {
 
+    protected CamelContext camelContext;
     protected final UtilizationStatistics statistics = new 
UtilizationStatistics();
-    private CamelContext camelContext;
     protected boolean statisticsEnabled;
 
     @Override

Reply via email to