java.lang.Object | |
↳ | java.lang.Compiler |
Placeholder class for environments which explicitly manage the action of a Just In Time (JIT) compiler. This class is usually implemented by the virtual machine vendor. The Android reference implementation does not (yet) contain such a JIT compiler, though other implementations may choose to provide one.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Executes an operation according to the specified command object.
| |||||||||||
Compiles the specified class using the JIT compiler and indicates if
compilation has been successful.
| |||||||||||
Compiles all classes whose name matches the specified name using the JIT
compiler and indicates if compilation has been successful.
| |||||||||||
Disables the JIT compiler.
| |||||||||||
Enables the JIT compiler.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Executes an operation according to the specified command object. This
method is the low-level interface to the JIT compiler. It may return any
object or null
if no JIT compiler is available.
cmd | the command object for the JIT compiler. |
---|
null
.Compiles the specified class using the JIT compiler and indicates if compilation has been successful.
classToCompile | java.lang.Class the class to JIT compile |
---|
true
if the compilation has been successful;
false
if it has failed or if there is no JIT compiler
available.Compiles all classes whose name matches the specified name using the JIT compiler and indicates if compilation has been successful.
nameRoot | the string to match class names with. |
---|
true
if the compilation has been successful;
false
if it has failed or if there is no JIT compiler
available.Disables the JIT compiler.
Enables the JIT compiler.