public class LoadExceptionObjectSnippets extends Object implements Snippets
The frame state upon entry to an exception handler is such that it is a
rethrow exception
state and the stack contains exactly the
exception object (per the JVM spec) to rethrow. This means that the code generated for this node
must not cause a deoptimization as the runtime/interpreter would not have a valid location to
find the exception object to be rethrown.
Modifier and Type | Class and Description |
---|---|
static class |
LoadExceptionObjectSnippets.Templates |
Modifier and Type | Field and Description |
---|---|
private static boolean |
USE_C_RUNTIME
Alternative way to implement exception object loading.
|
Constructor and Description |
---|
LoadExceptionObjectSnippets() |
private static final boolean USE_C_RUNTIME
public LoadExceptionObjectSnippets()
public static Object loadException(Register threadRegister)