harpoon.Analysis.EventDriven
Class AsyncCode

java.lang.Object
  extended by harpoon.Analysis.EventDriven.AsyncCode

public class AsyncCode
extends Object

AsyncCode

Version:
$Id: AsyncCode.java,v 1.6 2004/02/08 01:51:58 cananian Exp $
Author:
Karen K. Zee <kkz@alum.mit.edu>

Constructor Summary
AsyncCode()
           
 
Method Summary
static void buildCode(HCode hc, Map old2new, Set async_todo, QuadLiveness liveness, Set blockingcalls, CachingCodeFactory ucf, AllCallers.MethodSet bm, HMethod mroot, Linker linker, ClassHierarchy ch, Set other, Set done_other, boolean methodstatus, TypeMap typemap, boolean optimistic, boolean recycle, Set classes)
          Creates a AsyncCode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncCode

public AsyncCode()
Method Detail

buildCode

public static void buildCode(HCode hc,
                             Map old2new,
                             Set async_todo,
                             QuadLiveness liveness,
                             Set blockingcalls,
                             CachingCodeFactory ucf,
                             AllCallers.MethodSet bm,
                             HMethod mroot,
                             Linker linker,
                             ClassHierarchy ch,
                             Set other,
                             Set done_other,
                             boolean methodstatus,
                             TypeMap typemap,
                             boolean optimistic,
                             boolean recycle,
                             Set classes)
                      throws NoClassDefFoundError
Creates a AsyncCode.

Parameters:
hc - the HCode from which to build this AsyncCode.
old2new - the Map mapping blocking methods to the new Asynchronous version
async_todo - the Set of old HCodes for methods to build HCodes for the asynchronous versions
liveness - results of liveness analysis
blockingcalls - set of methods that block
ucf - CachingCodeFactory with which to register new HCode
bm - ToAsync.BlockingMethods object which tells the analysis information about lowest level blocking calls
Throws:
NoClassDefFoundError