From 00d9485f5597fdecc58461bd81df635fafbe494f Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Fri, 25 Nov 2016 16:48:28 -0500 Subject: Merge separate hashmaps for persistent cache into one MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This isn’t type-safe, but re-using that same hashmap for both keys and classloaders allows to reduce the number of members in Context. Also we can re-use the same hashMap for other things as well in the coming commits, e.g. timestamps. --- stage2/Stage2.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stage2/Stage2.scala') diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala index dfbead3..260a46d 100644 --- a/stage2/Stage2.scala +++ b/stage2/Stage2.scala @@ -31,8 +31,7 @@ object Stage2 extends Stage2Base{ logger.start, args.cbtHasChanged, null, - args.permanentKeys, - args.permanentClassLoaders, + args.persistentCache, new java.util.concurrent.ConcurrentHashMap, args.cache, args.cbtHome, -- cgit v1.2.3