Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.code/src/jdk/vm/ci/code/stack/InspectedFrame.java @ 23393:1d4ce2d19e52
clean up and minimize JVMCI (JDK-8156835)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 12 May 2016 20:57:31 +0200 |
parents | 1bbd4a7c274b |
children |
comparison
equal
deleted
inserted
replaced
23392:b3a816d3b844 | 23393:1d4ce2d19e52 |
---|---|
22 */ | 22 */ |
23 package jdk.vm.ci.code.stack; | 23 package jdk.vm.ci.code.stack; |
24 | 24 |
25 import jdk.vm.ci.meta.ResolvedJavaMethod; | 25 import jdk.vm.ci.meta.ResolvedJavaMethod; |
26 | 26 |
27 /** | |
28 * Access to the object variables in a stack frame. | |
29 */ | |
27 public interface InspectedFrame { | 30 public interface InspectedFrame { |
28 | 31 |
29 /** | 32 /** |
30 * Returns the value of the local at the given index. Currently only works for object values. | 33 * Returns the value of the object local at {@code index}. This value is a copy iff |
31 * This value is a copy iff {@link #isVirtual(int)} is true. | 34 * {@link #isVirtual(int)} is true. |
32 */ | 35 */ |
33 Object getLocal(int index); | 36 Object getLocal(int index); |
34 | 37 |
35 /** | 38 /** |
36 * Returns whether the local at the given index is a virtual object, and therefore the object | 39 * Returns whether the local at {@code index} is a virtual object, and therefore the object |
37 * returned by {@link #getLocal(int)} is a copy. | 40 * returned by {@link #getLocal(int)} is a copy. |
38 */ | 41 */ |
39 boolean isVirtual(int index); | 42 boolean isVirtual(int index); |
40 | 43 |
41 /** | 44 /** |