From c095f435b68272d4ae0409ab4c9466145609710e Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 13 Mar 2016 03:18:18 -0400 Subject: Refactored ClassLoaderCache to use key locked cache to pave the way for caching classloaders hierarchically without deadlocks --- stage2/Stage2.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stage2/Stage2.scala') diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala index 4145e55..a0a2b57 100644 --- a/stage2/Stage2.scala +++ b/stage2/Stage2.scala @@ -27,7 +27,7 @@ object Stage2{ } val task = argsV.lift( taskIndex ) - val context = Context( new File(argsV(0)), argsV.drop( taskIndex + 1 ), logger ) + val context = Context( new File(argsV(0)), argsV.drop( taskIndex + 1 ), logger, new ClassLoaderCache(logger) ) val first = lib.loadRoot( context ) val build = first.finalBuild -- cgit v1.2.3