mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
clear appenders cache when iteration over keys
This commit is contained in:
@@ -327,6 +327,7 @@ public class PersistentHashMap<Key, Value> extends PersistentEnumeratorDelegate<
|
||||
|
||||
public final boolean processKeysWithExistingMapping(Processor<Key> processor) throws IOException {
|
||||
synchronized (myEnumerator) {
|
||||
myAppendCache.clear();
|
||||
return myEnumerator.processAllDataObject(processor, new PersistentEnumerator.DataFilter() {
|
||||
public boolean accept(final int id) {
|
||||
return readValueId(id).address != NULL_ADDR;
|
||||
|
||||
Reference in New Issue
Block a user