Truffle: share frame descriptor among cloned call targets

Stefan Marr java at stefan-marr.de
Tue Oct 28 07:51:29 UTC 2014


Hi Andreas:

Could you elaborate a little on this change?

> On 28 Oct 2014, at 03:00, doug.simon at oracle.com wrote:
> 
> Changeset: be1316e633b5
> Author:    Andreas Woess <andreas.woess at jku.at>
> Date:      2014-10-27 14:33 +0100
> URL:       http://hg.openjdk.java.net/graal/graal/rev/be1316e633b5
> 
> Truffle: share frame descriptor among cloned call targets
> 
> ! graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/RootNode.java

I thought the idea was that the cloned AST trees can specialize themselves completely independently. Also with regard to the types in the frames. So, in TruffleSOM I am also making sure to clone the frame slots properly and clone all lexically embedded methods to have a proper match of descriptors and slot objects.

Is all this not necessary anymore?

Best regards
Stefan

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





More information about the graal-dev mailing list