Fix performance warnings

Stefan Marr java at stefan-marr.de
Fri May 29 12:03:37 UTC 2015


Hi Renze:

> On 29 May 2015, at 13:39, Renze Torensma <renzetorensma at gmail.com> wrote:
> 
> I can’t make the profile final like it says in the com.oracle.truffle.api.utilities.ValueProfile class because then comiling failes:
> 
> compilation failed!?
> [truffle] opt fail         Rootnode : fib                                              |Reason java.lang.StackOverflowError 

You need to make it final, otherwise, the partial evaluation won’t be able to use it. And that compilation fails could actually indicate that the profile works.
Can you get more info on the StackOverflowError?

Best regards
Stefan

-- 
Stefan Marr
Johannes Kepler Universität Linz
http://stefan-marr.de/research/





More information about the graal-dev mailing list