Mercurial > hg > graal-compiler
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntriesNative.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 |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntriesNative.java Thu Aug 19 14:34:52 2010 -0700 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntriesNative.java Tue Aug 31 22:13:30 2010 -0700 @@ -50,7 +50,7 @@ public native RiType RiSignature_lookupType(String returnType, long accessingClassVmId); @Override - public native CiConstant RiConstantPool_lookupConstant(long vmId, int cpi); + public native Object RiConstantPool_lookupConstant(long vmId, int cpi); @Override public native RiMethod RiConstantPool_lookupMethod(long vmId, int cpi, byte byteCode); @@ -65,18 +65,6 @@ public native RiField RiConstantPool_lookupField(long vmId, int cpi); @Override - public native boolean RiType_isArrayClass(long vmId); - - @Override - public native boolean RiType_isInstanceClass(long vmId); - - @Override - public native boolean RiType_isInterface(long vmId); - - @Override - public native long RiType_instanceSize(long vmId); - - @Override public native RiConstantPool RiType_constantPool(long vmId); @Override @@ -88,4 +76,16 @@ @Override public native HotSpotVMConfig getConfiguration(); + @Override + public native RiExceptionHandler[] RiMethod_exceptionHandlers(long vmId); + + @Override + public native RiMethod RiType_resolveMethodImpl(long vmId, String name, String signature); + + @Override + public native boolean RiType_isSubtypeOf(long vmId, RiType other); + + @Override + public native RiType getPrimitiveArrayType(CiKind kind); + }