harpoon.Analysis.EventDriven
Class AsyncCode
java.lang.Object
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>
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 |
AsyncCode
public AsyncCode()
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 versionasync_todo
- the Set
of old HCodes for methods to build HCodes
for the asynchronous versionsliveness
- results of liveness analysisblockingcalls
- set of methods that blockucf
- CachingCodeFactory
with which to register new
HCode
bm
- ToAsync.BlockingMethods
object which tells
the analysis information about lowest level blocking calls
- Throws:
NoClassDefFoundError