Controlling the phases of the Graal compiler

David Clarke dawclarke at
Tue Feb 14 02:01:24 UTC 2017

Good people,

I have found Bahram Yarahmadi’s post of 5th Jun 2016 3:34pm regarding his attempt to use the Graal compiler to generate the machine code for his test program.
I need the ability to write a new optimisation phase and inject it into the suite of phases in the correct place.  I know what I want to do, but I don’t know how to get my code integrated into the compiler.
Please can someone point me to the relevant place in the documentation that describes what the various compiler phases do, the order in which they must be invoked and any implicit dependencies.   Alternatively, which Java classes would you suggest as models so that I can start “code-diving”?

Thank you for your help.

David (Knobby) CLARKE
6 Coptfold Court
Glen Waverley
VIC 3150
+61 408 793 793
dawclarke at

More information about the graal-dev mailing list