|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Compiler
public final class Compiler
Compiler represents a JIT compiler implementation.
Constructor Summary | |
---|---|
Compiler()
|
Method Summary | |
---|---|
static Object |
command(Object cmd)
command sends a command to the compiler. |
static boolean |
compileClass(Class<?> clazz)
compileClass compiles a given class. |
static boolean |
compileClasses(String name)
compileClasses compiles all classes whose qualified name matches the given string. |
static void |
disable()
disable stops the compiler. |
static void |
enable()
enable restarts the compiler after it was disabled(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Compiler()
Method Detail |
---|
public static boolean compileClass(Class<?> clazz)
clazz
- the class to be compiled
public static boolean compileClasses(String name)
name
- the class name, e.g., "java.lang.Object"
public static Object command(Object cmd)
cmd
- a compiler specific object that represents the
command.
public static void enable()
public static void disable()
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |