java.lang.Compiler Class Reference

List of all members.


Detailed Description

This class must be implemented by the VM vendor.

This class is a placeholder for environments which explicitly manage the action of a "Just In Time" compiler.

See also:
Cloneable

Static Public Member Functions

static Object command (Object cmd)
 Low level interface to the JIT compiler.
static boolean compileClass (Class<?> classToCompile)
 Compiles the class using the JIT compiler.
static boolean compileClasses (String nameRoot)
 Compiles all classes whose name matches the argument using the JIT compiler.
static void disable ()
 Disable the JIT compiler.
static void enable ()
 Disable the JIT compiler.

Private Member Functions

 Compiler ()
 Prevent this class from being instantiated.

Constructor & Destructor Documentation

java.lang.Compiler.Compiler (  )  [private]

Prevent this class from being instantiated.


Member Function Documentation

static Object java.lang.Compiler.command ( Object  cmd  )  [static]

Low level interface to the JIT compiler.

Can return any object, or null if no JIT compiler is available.

Returns:
Object result of executing command
Parameters:
cmd Object a command for the JIT compiler

static boolean java.lang.Compiler.compileClass ( Class<?>  classToCompile  )  [static]

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.

Returns:
boolean indicating compilation success
Parameters:
classToCompile java.lang.Class the class to JIT compile

static boolean java.lang.Compiler.compileClasses ( String  nameRoot  )  [static]

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.

Returns:
boolean indicating compilation success
Parameters:
nameRoot String the string to match against class names

static void java.lang.Compiler.disable (  )  [static]

Disable the JIT compiler.

static void java.lang.Compiler.enable (  )  [static]

Disable the JIT compiler.


The documentation for this class was generated from the following file:

Genereated on Tue Dec 9 14:09:47 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.