From: aclement Date: Tue, 14 Mar 2006 15:55:27 +0000 (+0000) Subject: bug 128650: comment 16: don't allocate tons of space we don't necessarily need. X-Git-Tag: V1_5_1_final~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=42000b8dac08fc2312f9e449b273fa7a6363f66d;p=aspectj.git bug 128650: comment 16: don't allocate tons of space we don't necessarily need. --- diff --git a/asm/src/org/aspectj/asm/AsmManager.java b/asm/src/org/aspectj/asm/AsmManager.java index bb75e881e..46f347dcf 100644 --- a/asm/src/org/aspectj/asm/AsmManager.java +++ b/asm/src/org/aspectj/asm/AsmManager.java @@ -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;