Truffle update instructions?

Stefan Marr java at stefan-marr.de
Tue Apr 14 21:00:20 UTC 2015


Hi Christian:


> On 09 Apr 2015, at 22:23, christian.humer at gmail.com wrote:
> 
> […] -G:+PrintTruffleExpansionHistogram […]
> 
> You can also run with -G:+TraceTrufflePerformanceWarnings which may also show you potential problems (Note that this tool also outputs a few false positives).

Ok, those two tools point at similar things. The histogram shows that there are remaining calls that are not inlined. And the same is pointed out by the performance warnings.

It looks like this:

[truffle] perf warn        not inlined Special call to HotSpotMethod<FrameWithoutBoxing.getLong(FrameSlot)> (20|MethodCallTarget)
[truffle] perf warn        not inlined Special call to HotSpotMethod<FrameWithoutBoxing.setLong(FrameSlot, long)> (43|MethodCallTarget)
[truffle] perf warn        not inlined Special call to HotSpotMethod<FrameWithoutBoxing.getArguments()> (102|MethodCallTarget)
[truffle] perf warn        non-leaf type checkcast: Lsom/vmobjects/SObject; (118|CheckCast)
[truffle] perf warn        non-leaf type instanceof: Lsom/vmobjects/SObject; (116|InstanceOf)

I also see those calls in IGV.
It looks to me like the basic frame access are not compiled for some reason.

Is that about right? Any idea what the cause could be?

Thanks
Stefan

PS: I updated to the latest Graal version of today.

-- 
Stefan Marr
INRIA Lille - Nord Europe
http://stefan-marr.de/research/





More information about the graal-dev mailing list