jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1204147 - /jmeter/trunk/src/core/org/apache/jmeter/reporters/Summariser.java
Date Sun, 20 Nov 2011 11:33:20 GMT
Author: pmouawad
Date: Sun Nov 20 11:33:19 2011
New Revision: 1204147

URL: http://svn.apache.org/viewvc?rev=1204147&view=rev
Log:
Bug 52215 - Confusing synchronization in StatVisualizer, SummaryReport ,Summariser and issue
in StatGraphVisualizer

Oups, lock must be static

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/reporters/Summariser.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/reporters/Summariser.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/reporters/Summariser.java?rev=1204147&r1=1204146&r2=1204147&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/reporters/Summariser.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/reporters/Summariser.java Sun Nov 20 11:33:19
2011
@@ -89,7 +89,7 @@ public class Summariser extends Abstract
     /**
      * Lock used to protect accumulators update + instanceCount update
      */
-    private transient Object lock = new Object();
+    private static final Object lock = new Object();
 
     /*
      * This map allows summarisers with the same name to contribute to the same totals.



Mime
View raw message