mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
24.01.2012 247077e25dfb98f5ff97bd14823442c917c6b66d
opends/src/server/org/opends/server/extensions/FileSystemEntryCache.java
@@ -23,7 +23,7 @@
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Portions Copyright 2011 ForgeRock AS
 *      Portions Copyright 2011-2012 ForgeRock AS
 */
package org.opends.server.extensions;
@@ -781,7 +781,6 @@
          entriesExamined++;
          if ((entriesExamined % 1000) == 0) {
            cacheWriteLock.unlock();
            Thread.currentThread();
            Thread.yield();
            cacheWriteLock.lock();
          }
@@ -884,7 +883,6 @@
        entriesExamined++;
        if ((entriesExamined % 1000) == 0) {
          cacheWriteLock.unlock();
          Thread.currentThread();
          Thread.yield();
          cacheWriteLock.lock();
        }