diff -r 9fca333f8b5e -r 78fd666a897a project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/cpp/epoc/engine/preprocessor/DefaultTranslationUnitProvider.java --- a/project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/cpp/epoc/engine/preprocessor/DefaultTranslationUnitProvider.java Tue Jan 05 11:22:47 2010 -0600 +++ b/project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/cpp/epoc/engine/preprocessor/DefaultTranslationUnitProvider.java Tue Jan 05 11:23:50 2010 -0600 @@ -42,7 +42,7 @@ private boolean DUMP = false; /** count of entries allowed */ - private static final int DEFAULT_MAX_CACHE_SIZE = 32; + private static final int DEFAULT_MAX_CACHE_SIZE = 256; /** the minimum number of hits (accesses) to the TU to keep it when flushing cache. */ private static final int DEFAULT_MINIMUM_HITS_TO_KEEP = 8; @@ -156,7 +156,8 @@ if (DUMP) System.out.println("Releasing TU for " + file); //$NON-NLS-1$ tuCache.remove(file); - cacheHits.remove(file); + // do not lose info about file importance + //cacheHits.remove(file); cacheTimes.remove(file); cacheOrder.remove(file); }