mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vfs] IJPL-192: enable simple but larger file name cache
+ instead of MRU + SLRU under segmented lock -- use simple MRU but with bigger capacity (same total memory usage since simpler cache structure consumes less memory for itself) GitOrigin-RevId: f0cc090f2c8a16509c7e4afaf989435b0e2da920
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4bb7fa8914
commit
0cda87815c
+1
-1
@@ -86,7 +86,7 @@ public final class FSRecordsImpl {
|
||||
|
||||
public static final boolean USE_FAST_NAMES_IMPLEMENTATION = getBooleanProperty("vfs.use-fast-names-enumerator", true);
|
||||
private static final boolean USE_FILE_NAME_CACHE = getBooleanProperty("vfs.name-cache.enable", true);
|
||||
private static final boolean USE_MRU_FILE_NAME_CACHE = getBooleanProperty("vfs.name-cache.use-mru", false);
|
||||
private static final boolean USE_MRU_FILE_NAME_CACHE = getBooleanProperty("vfs.name-cache.use-mru", true);
|
||||
|
||||
//TODO RC: must be LOCK_FREE_PAGE_CACHE_ENABLED by default (and eventually just true)
|
||||
public static final boolean USE_CONTENT_STORAGE_OVER_NEW_FILE_PAGE_CACHE = getBooleanProperty("vfs.content-storage.use-lock-free-page-cache", true);
|
||||
|
||||
Reference in New Issue
Block a user