# HG changeset patch # User Lukas Stadler # Date 1335962756 -7200 # Node ID f536a459c2d31f646fea3d67d74100348fe78cef # Parent ecc2b68344debb853a86163222ef3531f177c5dd re-enable graph caching and the priority compilation queue diff -r ecc2b68344de -r f536a459c2d3 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalOptions.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalOptions.java Wed May 02 12:59:59 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalOptions.java Wed May 02 14:45:56 2012 +0200 @@ -85,13 +85,13 @@ // comilation queue public static int TimedBootstrap = -1; - public static boolean PriorityCompileQueue = ____; + public static boolean PriorityCompileQueue = true; public static int SlowQueueCutoff = 100000; public static boolean SlowCompileThreads = ____; public static boolean DynamicCompilePriority = ____; // graph caching - public static boolean CacheGraphs = ____; + public static boolean CacheGraphs = true; public static int GraphCacheSize = 1000; public static boolean PrintGraphCache = ____; diff -r ecc2b68344de -r f536a459c2d3 src/share/vm/runtime/globals.hpp --- a/src/share/vm/runtime/globals.hpp Wed May 02 12:59:59 2012 +0200 +++ b/src/share/vm/runtime/globals.hpp Wed May 02 14:45:56 2012 +0200 @@ -2507,7 +2507,7 @@ product(intx, CICompilerCount, CI_COMPILER_COUNT, \ "Number of compiler threads to run") \ \ - product(intx, CompilationPolicyChoice, NOT_GRAAL(0) GRAAL_ONLY(0), \ + product(intx, CompilationPolicyChoice, NOT_GRAAL(0) GRAAL_ONLY(4), \ "which compilation policy (0/1)") \ \ develop(bool, UseStackBanging, true, \