BailoutException in PEGraphDecoder.tooDeepInlining always print

Christian Humer christian.humer at gmail.com
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,
Christian


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

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



More information about the graal-dev mailing list