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.
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. Returns null
on Android, whether or not the system has a JIT.
cmd | the command object for the JIT compiler. |
---|
null
.
Compiles the specified class using the JIT compiler and indicates if compilation has been successful. Does nothing and returns false on Android.
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. Does nothing and returns false on Android.
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. Does nothing on Android.