Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalOptions.java @ 5346:4c3d953f8131
added mechanism (enabled by -G:PICache and -G:PiFilter) for saving/loading method profiling info to/from disk
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 03 May 2012 13:39:45 +0200 |
parents | 20c14eb46238 |
children | 2e9a5365dfb0 1436de7b7cab |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalOptions.java Wed May 02 18:23:12 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalOptions.java Thu May 03 13:39:45 2012 +0200 @@ -22,6 +22,8 @@ */ package com.oracle.graal.compiler; +import com.oracle.max.criutils.TTY.Filter; + /** * This class encapsulates options that control the behavior of the Graal compiler. * The help message for each option is specified by a {@linkplain #helpMap help map}. @@ -245,6 +247,16 @@ public static int InstanceOfMaxHints = 1; + /** + * The profiling info cache directory. + */ + public static String PICache = null; + + /** + * Filters the methods for which profiling info is loaded from/saved to the {@link #PICache}. + */ + public static String PIFilter = null; + static { // turn detailed assertions on when the general assertions are on (misusing the assert keyword for this) assert (DetailedAsserts = true) == true;