Compiler.CompileClass(Class) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compiles the specified class using the JIT compiler and indicates if compilation has been successful.
[Android.Runtime.Register("compileClass", "(Ljava/lang/Class;)Z", "")]
public static bool CompileClass (Java.Lang.Class? classToCompile);
[<Android.Runtime.Register("compileClass", "(Ljava/lang/Class;)Z", "")>]
static member CompileClass : Java.Lang.Class -> bool
Parameters
- classToCompile
- Class
java.lang.Class the class to JIT compile
Returns
true
if the compilation has been successful;
false
if it has failed or if there is no JIT compiler
available.
- Attributes
Remarks
Compiles the specified class using the JIT compiler and indicates if compilation has been successful. Does nothing and returns false on Android.
Java documentation for java.lang.Compiler.compileClass(java.lang.Class<?>)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.