Mercurial > hg > truffle
view c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotExceptionHandler.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 | |
children | 9e5e83ca2259 |
line wrap: on
line source
package com.sun.hotspot.c1x; import com.sun.cri.ri.*; public class HotSpotExceptionHandler implements RiExceptionHandler, CompilerObject { private int startBci; private int endBci; private int handlerBci; private int catchClassIndex; private RiType catchClass; @Override public int startBCI() { return startBci; } @Override public int endBCI() { return endBci; } @Override public int handlerBCI() { return handlerBci; } @Override public int catchClassIndex() { return catchClassIndex; } @Override public boolean isCatchAll() { return catchClassIndex == 0; } @Override public RiType catchKlass() { return catchClass; } }