Graal and Hotspot

Gulfem Savrun Yeniceri gulfemsavrun at gmail.com
Wed Feb 13 13:53:31 PST 2013


Thanks Gilles and Doug.
I was trying to pass the options as "-Graal:+PrintCompilation".
I see that we need to use -G to pass GraalOptions.

Gulfem

On Feb 13, 2013, at 1:47 PM, "Doug Simon @ Oracle" <doug.simon at oracle.com> wrote:

> 
> On Feb 14, 2013, at 6:45 AM, Gilles Duboscq <gilwooden at gmail.com> wrote:
> 
>> Hi Gulfem,
>> 
>> You can pass arguments in a similar fashion in Graal.
>> For example:
>> "mx vm -G:GraphCacheSize=2000 -XX:CompileCommand=print,Object::toString"
> 
> If you specify -G:+PrintFlags (or simply specify an invalid Graal option like -G:XXYYZZ) you get a listing of the supported Graal options:
> 
> % mx vm -G:+PrintFlags
> [Graal flags]
>  boolean AlignCallsForPatching                    = true
>  boolean AllowExplicitExceptionChecks             = true
>  boolean AlwaysInlineIntrinsics                   = false
>  boolean AlwaysInlineVTableStubs                  = false
>    float BoostInliningForEscapeAnalysis           = 2.0
>  boolean CacheGraphs                              = true
>  boolean CanOmitFrame                             = true
>  boolean CheckCastElimination                     = true
>      int CheckcastMaxHints                        = 2
>   double CheckcastMinHintHitProbability           = 0.5
>  boolean CreateDeoptInfo                          = false
>  boolean CullFrameStates                          = false
> ...
> 
> 
> Some time soon, this listing will include documentation for each flag.
> 
> -Doug



More information about the graal-dev mailing list