comparison graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotCompiledNmethod.java @ 21558:d563baeca9df

changed uses of Graal terminology to JVMCI (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Wed, 27 May 2015 13:43:27 +0200
parents 48c1ebd24120
children
comparison
equal deleted inserted replaced
21557:31fc2fce38f3 21558:d563baeca9df
32 public final class HotSpotCompiledNmethod extends HotSpotCompiledCode { 32 public final class HotSpotCompiledNmethod extends HotSpotCompiledCode {
33 33
34 public final HotSpotResolvedJavaMethod method; 34 public final HotSpotResolvedJavaMethod method;
35 public final int entryBCI; 35 public final int entryBCI;
36 public final int id; 36 public final int id;
37 public final long graalEnv; 37 public final long jvmciEnv;
38 38
39 /** 39 /**
40 * May be set by VM if code installation fails. It will describe in more detail why installation 40 * May be set by VM if code installation fails. It will describe in more detail why installation
41 * failed (e.g., exactly which dependency failed). 41 * failed (e.g., exactly which dependency failed).
42 */ 42 */
44 44
45 public HotSpotCompiledNmethod(HotSpotResolvedJavaMethod method, CompilationResult compResult) { 45 public HotSpotCompiledNmethod(HotSpotResolvedJavaMethod method, CompilationResult compResult) {
46 this(method, compResult, 0L); 46 this(method, compResult, 0L);
47 } 47 }
48 48
49 public HotSpotCompiledNmethod(HotSpotResolvedJavaMethod method, CompilationResult compResult, long graalEnv) { 49 public HotSpotCompiledNmethod(HotSpotResolvedJavaMethod method, CompilationResult compResult, long jvmciEnv) {
50 super(compResult); 50 super(compResult);
51 this.method = method; 51 this.method = method;
52 this.entryBCI = compResult.getEntryBCI(); 52 this.entryBCI = compResult.getEntryBCI();
53 this.id = compResult.getId(); 53 this.id = compResult.getId();
54 this.graalEnv = graalEnv; 54 this.jvmciEnv = jvmciEnv;
55 } 55 }
56 56
57 @Override 57 @Override
58 public String toString() { 58 public String toString() {
59 return getClass().getSimpleName() + "[" + id + ":" + method.format("%H.%n(%p)%r@") + entryBCI + "]"; 59 return getClass().getSimpleName() + "[" + id + ":" + method.format("%H.%n(%p)%r@") + entryBCI + "]";