activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r606022 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashBin.java
Date Thu, 20 Dec 2007 20:42:44 GMT
Author: rajdavies
Date: Thu Dec 20 12:42:43 2007
New Revision: 606022

URL: http://svn.apache.org/viewvc?rev=606022&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-1528

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashBin.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashBin.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashBin.java?rev=606022&r1=606021&r2=606022&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashBin.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/hash/HashBin.java
Thu Dec 20 12:42:43 2007
@@ -270,6 +270,7 @@
         HashPageInfo info = hashPages.get(pageNo);
         if (info.size() > maximumEntries) {
             // overflowed
+            info.begin();
             HashEntry entry = info.removeHashEntry(info.size() - 1);
             doOverFlow(pageNo + 1, entry);
         }



Mime
View raw message