commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1778038 - in /commons/proper/jcs/trunk: commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/CacheEventQueue.java src/changes/changes.xml
Date Mon, 09 Jan 2017 19:36:18 GMT
Author: tv
Date: Mon Jan  9 19:36:17 2017
New Revision: 1778038

URL: http://svn.apache.org/viewvc?rev=1778038&view=rev
Log:
JCS-171: Multiple CacheEventQueue.QProcessor spawned for the same cache region

Modified:
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/CacheEventQueue.java
    commons/proper/jcs/trunk/src/changes/changes.xml

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/CacheEventQueue.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/CacheEventQueue.java?rev=1778038&r1=1778037&r2=1778038&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/CacheEventQueue.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/CacheEventQueue.java
Mon Jan  9 19:36:17 2017
@@ -200,7 +200,7 @@ public class CacheEventQueue<K, V>
         public void run()
         {
 
-            while ( isAlive() )
+            while ( CacheEventQueue.this.isAlive() )
             {
                 AbstractCacheEvent event = null;
 
@@ -223,7 +223,7 @@ public class CacheEventQueue<K, V>
                     stopProcessing();
                 }
 
-                if ( event != null && isWorking() && isAlive() )
+                if ( event != null && isWorking() && CacheEventQueue.this.isAlive()
)
                 {
                     event.run();
                 }

Modified: commons/proper/jcs/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/changes/changes.xml?rev=1778038&r1=1778037&r2=1778038&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/changes/changes.xml (original)
+++ commons/proper/jcs/trunk/src/changes/changes.xml Mon Jan  9 19:36:17 2017
@@ -20,6 +20,9 @@
 	</properties>
 	<body>
         <release version="2.1" date="unreleased">
+            <action issue="JCS-171" dev="tv" type="fix" due-to="Wiktor Niesiobedzki">
+                Multiple CacheEventQueue.QProcessor spawned for the same cache region 
+            </action>
         </release>
         <release version="2.0" date="2016-12-25" description="JDK 1.6 based major release">
             <action issue="JCS-119" dev="tv" type="update">



Mime
View raw message