Freigeben über


Compiler.CompileClass(Class) Method

Definition

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.

Applies to