Mercurial > hg > truffle
changeset 5268:b59e32ea3761
enable graph caching and priority compilation queue
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 20 Apr 2012 15:02:54 +0200 |
parents | 8191f71d7f51 |
children | 6b2d030d01ff |
files | graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalOptions.java src/cpu/x86/vm/c1_globals_x86.hpp src/share/vm/runtime/globals.hpp |
diffstat | 3 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 = ____;
--- 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 );
--- 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, \