BailoutException in PEGraphDecoder.tooDeepInlining always print

Christian Humer christian.humer at
Tue Mar 29 15:21:55 UTC 2016

Hi Mohaned,

You should hide the sysout behind a @TruffleBoundary otherwise the 
partial evaluator will get stuck in a recursion somewhere in the 
implementation of PrintStream. You cannot use recursion on the fast-path 
(=everything that is partially evaluated).
As a rule of thumb you should not call into Java code that you don't 
control/know its implementation on the fast-path.

Hope this helps,

On 29.03.2016 03:24:55, "Mohaned Y Qunaibit" <mqunaibi at> wrote:

>I noticed that BailoutException in PEGraphDecoder.tooDeepInlining 
>throws when inlining depth reaches limit to the user's sysout. 
>this be controlled by *TraceTruffleCompilation*?
>Mohaned Qunaibit

More information about the graal-dev mailing list