Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotMemoryAccessProvider.java @ 23679:b5557b757040
fix HotSpotVMConfig startup performance (JDK-8159167)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 15 Jun 2016 00:00:41 +0200 |
parents | 19855d029fc0 |
children | 8abcd8e1285d |
comparison
equal
deleted
inserted
replaced
23678:e86a0b0ba969 | 23679:b5557b757040 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package jdk.vm.ci.hotspot; | 23 package jdk.vm.ci.hotspot; |
24 | 24 |
25 import jdk.vm.ci.hotspot.HotSpotVMConfig.CompressEncoding; | |
26 import jdk.vm.ci.meta.Constant; | 25 import jdk.vm.ci.meta.Constant; |
27 import jdk.vm.ci.meta.JavaConstant; | 26 import jdk.vm.ci.meta.JavaConstant; |
28 import jdk.vm.ci.meta.MemoryAccessProvider; | 27 import jdk.vm.ci.meta.MemoryAccessProvider; |
29 | 28 |
30 /** | 29 /** |
31 * HotSpot specific extension of {@link MemoryAccessProvider}. | 30 * HotSpot specific extension of {@link MemoryAccessProvider}. |
32 */ | 31 */ |
33 public interface HotSpotMemoryAccessProvider extends MemoryAccessProvider { | 32 public interface HotSpotMemoryAccessProvider extends MemoryAccessProvider { |
34 | 33 |
35 JavaConstant readNarrowOopConstant(Constant base, long displacement, CompressEncoding encoding); | 34 JavaConstant readNarrowOopConstant(Constant base, long displacement); |
36 | 35 |
37 Constant readKlassPointerConstant(Constant base, long displacement); | 36 Constant readKlassPointerConstant(Constant base, long displacement); |
38 | 37 |
39 Constant readNarrowKlassPointerConstant(Constant base, long displacement, CompressEncoding encoding); | 38 Constant readNarrowKlassPointerConstant(Constant base, long displacement); |
40 | 39 |
41 Constant readMethodPointerConstant(Constant base, long displacement); | 40 Constant readMethodPointerConstant(Constant base, long displacement); |
42 } | 41 } |