Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider.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 | b3a816d3b844 |
children | b5557b757040 |
comparison
equal
deleted
inserted
replaced
23392:b3a816d3b844 | 23393:1d4ce2d19e52 |
---|---|
23 package jdk.vm.ci.hotspot; | 23 package jdk.vm.ci.hotspot; |
24 | 24 |
25 import java.io.OutputStream; | 25 import java.io.OutputStream; |
26 | 26 |
27 import jdk.vm.ci.common.JVMCIError; | 27 import jdk.vm.ci.common.JVMCIError; |
28 import jdk.vm.ci.meta.JVMCIMetaAccessContext; | |
29 import jdk.vm.ci.meta.JavaKind; | 28 import jdk.vm.ci.meta.JavaKind; |
30 import jdk.vm.ci.meta.JavaType; | 29 import jdk.vm.ci.meta.JavaType; |
31 import jdk.vm.ci.meta.ResolvedJavaType; | 30 import jdk.vm.ci.meta.ResolvedJavaType; |
32 import jdk.vm.ci.runtime.JVMCIRuntime; | 31 import jdk.vm.ci.runtime.JVMCIRuntime; |
33 import sun.misc.Unsafe; | 32 import sun.misc.Unsafe; |
34 | |
35 //JaCoCo Exclude | |
36 | 33 |
37 /** | 34 /** |
38 * Configuration information for the HotSpot JVMCI runtime. | 35 * Configuration information for the HotSpot JVMCI runtime. |
39 */ | 36 */ |
40 public interface HotSpotJVMCIRuntimeProvider extends JVMCIRuntime { | 37 public interface HotSpotJVMCIRuntimeProvider extends JVMCIRuntime { |
67 * Gets the JVMCI mirror for a {@link Class} object. | 64 * Gets the JVMCI mirror for a {@link Class} object. |
68 * | 65 * |
69 * @return the {@link ResolvedJavaType} corresponding to {@code javaClass} | 66 * @return the {@link ResolvedJavaType} corresponding to {@code javaClass} |
70 */ | 67 */ |
71 ResolvedJavaType fromClass(Class<?> clazz); | 68 ResolvedJavaType fromClass(Class<?> clazz); |
72 | |
73 JVMCIMetaAccessContext getMetaAccessContext(); | |
74 | 69 |
75 /** | 70 /** |
76 * The offset from the origin of an array to the first element. | 71 * The offset from the origin of an array to the first element. |
77 * | 72 * |
78 * @return the offset in bytes | 73 * @return the offset in bytes |