memory index storage reworked:
commitd6e6921ab8a7e4fca9dcb1fe91da93f5f1ae838f
authorEugene Zhuravlev <jeka@intellij.com>
Wed, 28 Oct 2009 16:51:04 +0000 (28 19:51 +0300)
committerEugene Zhuravlev <jeka@intellij.com>
Wed, 28 Oct 2009 16:51:04 +0000 (28 19:51 +0300)
tree5d0884fa170b74eade5ad1734f3b7abf0368936c
parent9b11069523b62647a389885f9be79805e683a963
memory index storage reworked:
1. unneccesary synchronization removed
2. clear memory map on document save rather than on myBufferingEnabled flag change
platform/lang-impl/src/com/intellij/psi/stubs/StubIndexImpl.java
platform/lang-impl/src/com/intellij/psi/stubs/StubUpdatingIndex.java
platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndex.java
platform/lang-impl/src/com/intellij/util/indexing/IndexStorage.java
platform/lang-impl/src/com/intellij/util/indexing/MapIndexStorage.java
platform/lang-impl/src/com/intellij/util/indexing/MemoryIndexStorage.java