Mercurial > hg > graal-jvmci-8
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntries.java @ 1437:9e5e83ca2259
Enabled -C1X:OPTIONS when running HotSpot/C1X. Enabled checkstyle for the HotSpotVM Java project.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Mon, 25 Oct 2010 16:47:52 +0200 |
parents | efba53f86c4f |
children | d0c8d3a2a7e8 |
comparison
equal
deleted
inserted
replaced
1436:9dae1aae168a | 1437:9e5e83ca2259 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2009-2010 Sun Microsystems, Inc. All rights reserved. | 2 * Copyright (c) 2010 Sun Microsystems, Inc. All rights reserved. |
3 * | 3 * |
4 * Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is | 4 * Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product |
5 * described in this document. In particular, and without limitation, these intellectual property rights may include one | 5 * that is described in this document. In particular, and without limitation, these intellectual property |
6 * or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent | 6 * rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or |
7 * applications in the U.S. and in other countries. | 7 * more additional patents or pending patent applications in the U.S. and in other countries. |
8 * | 8 * |
9 * U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard | 9 * U.S. Government Rights - Commercial software. Government users are subject to the Sun |
10 * license agreement and applicable provisions of the FAR and its supplements. | 10 * Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its |
11 * supplements. | |
11 * | 12 * |
12 * Use is subject to license terms. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or registered | 13 * Use is subject to license terms. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or |
13 * trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and | 14 * registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks |
14 * are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. | 15 * are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the |
16 * U.S. and other countries. | |
15 * | 17 * |
16 * UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. | 18 * UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open |
19 * Company, Ltd. | |
17 */ | 20 */ |
18 | 21 |
19 package com.sun.hotspot.c1x; | 22 package com.sun.hotspot.c1x; |
20 | 23 |
21 import com.sun.cri.ci.*; | 24 import com.sun.cri.ci.*; |
26 * | 29 * |
27 * @author Thomas Wuerthinger, Lukas Stadler | 30 * @author Thomas Wuerthinger, Lukas Stadler |
28 */ | 31 */ |
29 public interface VMEntries { | 32 public interface VMEntries { |
30 | 33 |
31 public byte[] RiMethod_code(long vmId); | 34 // CHECKSTYLE:OFF |
32 | 35 |
33 public int RiMethod_maxStackSize(long vmId); | 36 byte[] RiMethod_code(long vmId); |
34 | 37 |
35 public int RiMethod_maxLocals(long vmId); | 38 int RiMethod_maxStackSize(long vmId); |
36 | 39 |
37 public RiType RiMethod_holder(long vmId); | 40 int RiMethod_maxLocals(long vmId); |
38 | 41 |
39 public String RiMethod_signature(long vmId); | 42 RiType RiMethod_holder(long vmId); |
40 | 43 |
41 public int RiMethod_accessFlags(long vmId); | 44 String RiMethod_signature(long vmId); |
42 | 45 |
43 public RiType RiSignature_lookupType(String returnType, long accessingClassVmId); | 46 int RiMethod_accessFlags(long vmId); |
44 | 47 |
45 public Object RiConstantPool_lookupConstant(long vmId, int cpi); | 48 RiType RiSignature_lookupType(String returnType, long accessingClassVmId); |
46 | 49 |
47 public RiMethod RiConstantPool_lookupMethod(long vmId, int cpi, byte byteCode); | 50 Object RiConstantPool_lookupConstant(long vmId, int cpi); |
48 | 51 |
49 public RiSignature RiConstantPool_lookupSignature(long vmId, int cpi); | 52 RiMethod RiConstantPool_lookupMethod(long vmId, int cpi, byte byteCode); |
50 | 53 |
51 public RiType RiConstantPool_lookupType(long vmId, int cpi); | 54 RiSignature RiConstantPool_lookupSignature(long vmId, int cpi); |
52 | 55 |
53 public RiField RiConstantPool_lookupField(long vmId, int cpi); | 56 RiType RiConstantPool_lookupType(long vmId, int cpi); |
54 | 57 |
55 public RiConstantPool RiType_constantPool(long vmId); | 58 RiField RiConstantPool_lookupField(long vmId, int cpi); |
56 | 59 |
57 public void installMethod(HotSpotTargetMethod targetMethod); | 60 RiConstantPool RiType_constantPool(long vmId); |
58 | 61 |
59 public long installStub(HotSpotTargetMethod targetMethod); | 62 void installMethod(HotSpotTargetMethod targetMethod); |
60 | 63 |
61 public HotSpotVMConfig getConfiguration(); | 64 long installStub(HotSpotTargetMethod targetMethod); |
62 | 65 |
63 public RiExceptionHandler[] RiMethod_exceptionHandlers(long vmId); | 66 HotSpotVMConfig getConfiguration(); |
64 | 67 |
65 public RiMethod RiType_resolveMethodImpl(long vmId, String name, String signature); | 68 RiExceptionHandler[] RiMethod_exceptionHandlers(long vmId); |
66 | 69 |
67 public boolean RiType_isSubtypeOf(long vmId, RiType other); | 70 RiMethod RiType_resolveMethodImpl(long vmId, String name, String signature); |
68 | 71 |
69 public RiType getPrimitiveArrayType(CiKind kind); | 72 boolean RiType_isSubtypeOf(long vmId, RiType other); |
70 | 73 |
71 public RiType RiType_arrayOf(long vmId); | 74 RiType getPrimitiveArrayType(CiKind kind); |
72 | 75 |
73 public RiType RiType_componentType(long vmId); | 76 RiType RiType_arrayOf(long vmId); |
74 | 77 |
75 public RiType getType(Class<?> javaClass); | 78 RiType RiType_componentType(long vmId); |
76 | 79 |
77 public boolean RiMethod_hasBalancedMonitors(long vmId); | 80 RiType getType(Class<?> javaClass); |
78 | 81 |
82 boolean RiMethod_hasBalancedMonitors(long vmId); | |
83 | |
84 // CHECKSTYLE:ON | |
79 } | 85 } |