Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/tools/NodeExecCounter.java @ 19521:b5467bb34b24
Truffle/Instrumentation: some variable renaming for clarity
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Thu, 19 Feb 2015 11:42:03 -0800 |
parents | a2ff253c458f |
children | 907128d02b31 |
comparison
equal
deleted
inserted
replaced
19520:b08cf18b9f0a | 19521:b5467bb34b24 |
---|---|
95 * Listener for events at instrumented nodes. Counts are maintained in a shared table, so the | 95 * Listener for events at instrumented nodes. Counts are maintained in a shared table, so the |
96 * listener is stateless and can be shared by every {@link Instrument}. | 96 * listener is stateless and can be shared by every {@link Instrument}. |
97 */ | 97 */ |
98 private final TruffleEventListener eventListener = new DefaultEventListener() { | 98 private final TruffleEventListener eventListener = new DefaultEventListener() { |
99 @Override | 99 @Override |
100 public void enter(Node node, VirtualFrame frame) { | 100 public void enter(Node node, VirtualFrame vFrame) { |
101 if (isEnabled()) { | 101 if (isEnabled()) { |
102 final Class<?> nodeClass = node.getClass(); | 102 final Class<?> nodeClass = node.getClass(); |
103 /* | 103 /* |
104 * Everything up to here is inlined by Truffle compilation. Delegate the next part | 104 * Everything up to here is inlined by Truffle compilation. Delegate the next part |
105 * to a method behind an inlining boundary. | 105 * to a method behind an inlining boundary. |