org.jikesrvm.adaptive.util
Class AOSGenerator

java.lang.Object
  extended by org.jikesrvm.adaptive.util.AOSGenerator

public class AOSGenerator
extends Object

This class provides advice file used by compile replay experiments Right now this class is basically duplicate part of the AOSLogging class.


Field Summary
private static boolean booted
           
private static PrintStream log
           
private static boolean recording
           
 
Constructor Summary
AOSGenerator()
           
 
Method Summary
static void baseCompilationCompleted(CompiledMethod cm)
           
static void boot()
          Called from ControllerThread.run to initialize the logging subsystem
static boolean booted()
          Return whether AOS logging has booted.
static void reCompilationWithOpt(CompilationPlan plan)
          This method logs the successful completion of an adaptively selected recompilation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static PrintStream log

booted

private static boolean booted

recording

private static boolean recording
Constructor Detail

AOSGenerator

public AOSGenerator()
Method Detail

booted

public static boolean booted()
Return whether AOS logging has booted.

Returns:
whether AOS logging has booted

boot

public static void boot()
Called from ControllerThread.run to initialize the logging subsystem


reCompilationWithOpt

public static void reCompilationWithOpt(CompilationPlan plan)
This method logs the successful completion of an adaptively selected recompilation

Parameters:
plan - the Compilation plan being executed.

baseCompilationCompleted

public static void baseCompilationCompleted(CompiledMethod cm)