public class VmHacks
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
VmHacks.InstrumentationCommand
Instrumentation command issued to the instrumentation agent.
|
static class |
VmHacks.Unsafe
Access to unsafe operations.
|
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG
Set to true to see debug infos during startup.
|
static boolean |
DISABLE
Globally disable all VM Hacks.
|
static boolean |
DISABLE_INSTRUMENTATION
Disable all instrumentation-based Hacks.
|
| Constructor and Description |
|---|
VmHacks() |
| Modifier and Type | Method and Description |
|---|---|
static VmHacks.Unsafe |
get()
Provides access to unsafe operations.
|
protected static void |
injectClassIntoStore(java.util.Map<java.lang.Object[],java.lang.Class<?>> classstore,
java.lang.ClassLoader cl,
java.lang.String classname,
java.lang.Class<?> clazz)
Trampoline function for injection into the class redefinition store.
|
public static boolean DISABLE
public static boolean DISABLE_INSTRUMENTATION
public static boolean DEBUG
public static final VmHacks.Unsafe get()
protected static final void injectClassIntoStore(java.util.Map<java.lang.Object[],java.lang.Class<?>> classstore,
java.lang.ClassLoader cl,
java.lang.String classname,
java.lang.Class<?> clazz)
classstore - The class store.cl - The targeted classloader.classname - Name of the class.clazz - The class.