java.lang.Object
java.lang.Compiler
Deprecated, for removal: This API element is subject to removal in a future version.
This class is a placeholder for environments which
explicitly manage the action of a "Just In Time"
compiler.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
Deprecated, for removal: This API element is subject to removal in a future version.Low level interface to the JIT compiler.static boolean
compileClass
(Class<?> classToCompile) Deprecated, for removal: This API element is subject to removal in a future version.Compiles the class using the JIT compiler.static boolean
compileClasses
(String nameRoot) Deprecated, for removal: This API element is subject to removal in a future version.Compiles all classes whose name matches the argument using the JIT compiler.static void
disable()
Deprecated, for removal: This API element is subject to removal in a future version.Disable the JIT compilerstatic void
enable()
Deprecated, for removal: This API element is subject to removal in a future version.Enable the JIT compiler
-
Method Details
-
command
Deprecated, for removal: This API element is subject to removal in a future version.Low level interface to the JIT compiler. Can return any object, or null if no JIT compiler is available.- Parameters:
cmd
- Object a command for the JIT compiler- Returns:
- Object result of executing command
-
compileClass
Deprecated, for removal: This API element is subject to removal in a future version.Compiles the class using the JIT compiler. Answers true if the compilation was successful, or false if it failed or there was no JIT compiler available.- Parameters:
classToCompile
- java.lang.Class the class to JIT compile- Returns:
- boolean indicating compilation success
-
compileClasses
Deprecated, for removal: This API element is subject to removal in a future version.Compiles all classes whose name matches the argument using the JIT compiler. Answers true if the compilation was successful, or false if it failed or there was no JIT compiler available.- Parameters:
nameRoot
- String the string to match against class names- Returns:
- boolean indicating compilation success
-
disable
public static void disable()Deprecated, for removal: This API element is subject to removal in a future version.Disable the JIT compiler -
enable
public static void enable()Deprecated, for removal: This API element is subject to removal in a future version.Enable the JIT compiler
-