jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1419696 - /jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java
Date Mon, 10 Dec 2012 19:35:47 GMT
Author: pmouawad
Date: Mon Dec 10 19:35:46 2012
New Revision: 1419696

URL: http://svn.apache.org/viewvc?rev=1419696&view=rev
Log:
Bug 54268 - Improve memory and CPU usage
make field volatile and transient as per sebb remark on mailing list
Bugzilla Id: 54268

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java?rev=1419696&r1=1419695&r2=1419696&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java Mon Dec 10 19:35:46
2012
@@ -248,7 +248,7 @@ public class SampleResult implements Ser
     /**
      * Cache for responseData as string to avoid multiple computations
      */
-    private String responseDataAsString;
+    private volatile transient String responseDataAsString;
     
     private long initOffset(){
         if (useNanoTime){



Mime
View raw message