comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/AdvancedInstrumentRoot.java @ 21355:442b57a7f208

Truffle/Instrumentation: change the signature for creation of Advanced instruments, refactor how the callback listener is managed.
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Tue, 12 May 2015 16:06:00 -0700
parents 876e710523c5
children e34bc00733d1
comparison
equal deleted inserted replaced
21354:575032310b2c 21355:442b57a7f208
27 import com.oracle.truffle.api.frame.*; 27 import com.oracle.truffle.api.frame.*;
28 import com.oracle.truffle.api.nodes.*; 28 import com.oracle.truffle.api.nodes.*;
29 29
30 /** 30 /**
31 * Root of a client-provided AST fragment that can be executed efficiently, subject to full Truffle 31 * Root of a client-provided AST fragment that can be executed efficiently, subject to full Truffle
32 * optimization, by an {@linkplain Instrument#create(AdvancedInstrumentRootFactory, String) Advanced 32 * optimization, by an
33 * Instrument}. 33 * {@linkplain Instrument#create(AdvancedInstrumentResultListener, AdvancedInstrumentRootFactory, String)
34 * Advanced Instrument}.
34 * 35 *
35 * @see Instrument 36 * @see Instrument
36 * @see AdvancedInstrumentRootFactory 37 * @see AdvancedInstrumentRootFactory
37 * @see AdvancedInstrumentResultListener 38 * @see AdvancedInstrumentResultListener
38 */ 39 */