flags to analyze register spilling issues

Thomas Wuerthinger thomas.wuerthinger at oracle.com
Tue May 21 00:50:42 PDT 2013


Another option is to use the PrintCFG flag for enabling c1visualizer [1] output. Here is an example command line:

./mx.sh vm -G:+PrintCFG -G:MethodFilter=myMethodName -G:Dump=

- thomas

[1] https://java.net/projects/c1visualizer/

On May 21, 2013, at 9:07 AM, Doug Simon <doug.simon at oracle.com> wrote:

> There is -G:TraceLinearScanLevel=<level> where level is between 1 and 4.
> 
> On May 21, 2013, at 12:22 AM, "Venkatachalam, Vasanth" <Vasanth.Venkatachalam at amd.com> wrote:
> 
>> Are there any flags that can be used to analyze why Graal decides it needs to spill registers?
>> 
>> We have a small test case which we wouldn't expect would require spilling, and we're investigating why Graal thinks that no registers are available.
>> 
>> Vasanth
> 



More information about the graal-dev mailing list