]> source.dussan.org Git - aspectj.git/commitdiff
bug 128650: comment 16: don't allocate tons of space we don't necessarily need.
authoraclement <aclement>
Tue, 14 Mar 2006 15:55:27 +0000 (15:55 +0000)
committeraclement <aclement>
Tue, 14 Mar 2006 15:55:27 +0000 (15:55 +0000)
asm/src/org/aspectj/asm/AsmManager.java

index bb75e881e52f56aeceb8099d20ce9c85c5a57003..46f347dcf2ceed3bf4999d06c0162491a02c4dd9 100644 (file)
@@ -271,7 +271,7 @@ public class AsmManager {
        private static class CanonicalFilePathMap {
                private static final int MAX_SIZE = 4000;
                
-               private Map pathMap = new HashMap(MAX_SIZE);
+               private Map pathMap = new HashMap(20);
 
 //             // guards to ensure correctness and liveness
 //             private boolean cacheInUse = false;