comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntries.java @ 1429:abc670a709dc

* -XX:TraceC1X=0...5 controls the native c1x tracing * -Dc1x.debug=true turns on the logging proxies and lots of log output on the java side * provide more information about types to the compiler (type hierarchy, etc) * provide exception handler tables to the compiler * add exception handlers to the nmethod * correct implementation of ExceptionObject * exception handling/unwinding entry points * modified versions of handle/unwind exception stubs using standard calling conventions * exception throwing * implicit null pointer exception, implicit div by 0 exception * arraystore/classcast/arrayindex exceptions * checkcast implementation * newarray, anewarray, multinewarray implementation * correct new instance initialization * access to java class mirrors (for ldc) * unresolved methods * class resolving - class patching (asssembly prototype copying)
author Lukas Stadler <lukas.stadler@oracle.com>
date Tue, 31 Aug 2010 22:13:30 -0700
parents 98fffb304868
children efba53f86c4f
comparison
equal deleted inserted replaced
1428:695451afc619 1429:abc670a709dc
40 40
41 public int RiMethod_accessFlags(long vmId); 41 public int RiMethod_accessFlags(long vmId);
42 42
43 public RiType RiSignature_lookupType(String returnType, long accessingClassVmId); 43 public RiType RiSignature_lookupType(String returnType, long accessingClassVmId);
44 44
45 public CiConstant RiConstantPool_lookupConstant(long vmId, int cpi); 45 public Object RiConstantPool_lookupConstant(long vmId, int cpi);
46 46
47 public RiMethod RiConstantPool_lookupMethod(long vmId, int cpi, byte byteCode); 47 public RiMethod RiConstantPool_lookupMethod(long vmId, int cpi, byte byteCode);
48 48
49 public RiSignature RiConstantPool_lookupSignature(long vmId, int cpi); 49 public RiSignature RiConstantPool_lookupSignature(long vmId, int cpi);
50 50
51 public RiType RiConstantPool_lookupType(long vmId, int cpi); 51 public RiType RiConstantPool_lookupType(long vmId, int cpi);
52 52
53 public RiField RiConstantPool_lookupField(long vmId, int cpi); 53 public RiField RiConstantPool_lookupField(long vmId, int cpi);
54 54
55 public boolean RiType_isArrayClass(long vmId);
56
57 public boolean RiType_isInstanceClass(long vmId);
58
59 public boolean RiType_isInterface(long vmId);
60
61 public long RiType_instanceSize(long vmId);
62
63 public RiConstantPool RiType_constantPool(long vmId); 55 public RiConstantPool RiType_constantPool(long vmId);
64 56
65 public void installMethod(HotSpotTargetMethod targetMethod); 57 public void installMethod(HotSpotTargetMethod targetMethod);
66 58
67 public long installStub(HotSpotTargetMethod targetMethod); 59 public long installStub(HotSpotTargetMethod targetMethod);
68 60
69 public HotSpotVMConfig getConfiguration(); 61 public HotSpotVMConfig getConfiguration();
70 62
63 public RiExceptionHandler[] RiMethod_exceptionHandlers(long vmId);
64
65 public RiMethod RiType_resolveMethodImpl(long vmId, String name, String signature);
66
67 public boolean RiType_isSubtypeOf(long vmId, RiType other);
68
69 public RiType getPrimitiveArrayType(CiKind kind);
70
71 } 71 }