# HG changeset patch # User Lukas Stadler # Date 1334926974 -7200 # Node ID b59e32ea3761687dee639e43c23c1e852b29fd0a # Parent 8191f71d7f515b5e7c50185cae0fb8e823410085 enable graph caching and priority compilation queue diff -r 8191f71d7f51 -r b59e32ea3761 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 Fri Apr 20 13:44:28 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalOptions.java Fri Apr 20 15:02:54 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 = ____; @@ -127,6 +127,7 @@ public static String Meter = null; public static String Time = null; public static String Log = null; + public static String LogFile = null; public static String MethodFilter = null; public static boolean DumpOnError = ____; diff -r 8191f71d7f51 -r b59e32ea3761 src/cpu/x86/vm/c1_globals_x86.hpp --- a/src/cpu/x86/vm/c1_globals_x86.hpp Fri Apr 20 13:44:28 2012 +0200 +++ b/src/cpu/x86/vm/c1_globals_x86.hpp Fri Apr 20 15:02:54 2012 +0200 @@ -52,7 +52,7 @@ #ifdef GRAAL define_pd_global(bool, ProfileTraps, true ); define_pd_global(bool, UseOnStackReplacement, false); -define_pd_global(intx, CompileThreshold, 4500 ); +define_pd_global(intx, CompileThreshold, 2500 ); define_pd_global(intx, InitialCodeCacheSize, 4*M ); define_pd_global(intx, ReservedCodeCacheSize, 48*M ); define_pd_global(bool, ProfileInterpreter, true ); diff -r 8191f71d7f51 -r b59e32ea3761 src/share/vm/runtime/globals.hpp --- a/src/share/vm/runtime/globals.hpp Fri Apr 20 13:44:28 2012 +0200 +++ b/src/share/vm/runtime/globals.hpp Fri Apr 20 15:02:54 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, \