GraalError

Tom Rodriguez tom.rodriguez at oracle.com
Tue Oct 25 16:48:55 UTC 2016


> On Oct 25, 2016, at 8:32 AM, Andrew Haley <aph at redhat.com> wrote:
> 
> On 25/10/16 16:23, christian.wimmer at oracle.com wrote:
> 
>> This is usually an error in the LIR construction, which is
>> architecture specific.
> 
> Aha!  That makes sense.
> 
>> It means that a virtual register is used before it is defined, or on
>> a path where it is not defined at all.
>> 
>> You need to look at the LIR in the c1visualizer tool, which you can
>> start with "mx c1visualizer". The .cfg input files for it are
>> created with the same flags that enable IR graph dumping to the IGV
>> tool.
> 
> Right.  But the compiler does not tell me which method it was trying
> to compile, so it's very hard for me to know how to get the LIR.  Is
> there some debug option to Graal I could use which would tell me what
> it was trying to compile?  And, given that information, how would I
> dump the .cfg file?

The COMPILE SKIPPED message is from HotSpot PrintCompilation output so it should include a normal PrintCompilation line.  Is that not the case?

tom

> 
> Thanks,
> 
> Andrew.



More information about the graal-dev mailing list