speedup: call force() only at the end of the build, between chunk builds drop only...
[idea/community.git] / jps / jps-builders / src / org / jetbrains / jps / incremental / storage / AbstractStateStorage.java
index 71346299175b54a6a5b6e5e62e23f70ceb317df8..6da5a613e6518ab678e802e2988509c37086747b 100644 (file)
@@ -32,6 +32,12 @@ public abstract class AbstractStateStorage<Key, T> {
     }
   }
 
+  public void dropMemoryCache() {
+    synchronized (myDataLock) {
+      myMap.dropMemoryCaches();
+    }
+  }
+
   public void close() throws IOException {
     synchronized (myDataLock) {
       myMap.close();