harpoon.Analysis.PointerAnalysis
Class MAInfo

java.lang.Object
  extended by harpoon.Analysis.PointerAnalysis.MAInfo
All Implemented Interfaces:
AllocationInformation, Serializable

public class MAInfo
extends Object
implements AllocationInformation, Serializable

MAInfo

Version:
$Id: MAInfo.java,v 1.25 2005/12/01 07:54:08 salcianu Exp $
Author:
Alexandru SALCIANU <salcianu@retezat.lcs.mit.edu>
See Also:
Serialized Form

Nested Class Summary
static class MAInfo.MAInfoOptions
          Options for the MAInfo processing.
 
Nested classes/interfaces inherited from interface harpoon.Analysis.Maps.AllocationInformation
AllocationInformation.AllocationProperties
 
Field Summary
static boolean NO_TG
          Forces the allocation of ALL the threads on the stack.
 
Constructor Summary
MAInfo(PointerAnalysis pa, HCodeFactory hcf, Linker linker, Set mms, MAInfo.MAInfoOptions opt)
          Creates a MAInfo.
 
Method Summary
 void analyze()
           
static HClass getAllocatedType(HCodeElement hce)
           
 void prepareForSerialization()
          Nullifies some stuff to make the serialization possible.
 void print()
          Pretty printer for debug.
 AllocationInformation.AllocationProperties query(HCodeElement allocationSite)
          Returns the allocation policy for allocationSite.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_TG

public static boolean NO_TG
Forces the allocation of ALL the threads on the stack. Of course, dummy and unsafe.

Constructor Detail

MAInfo

public MAInfo(PointerAnalysis pa,
              HCodeFactory hcf,
              Linker linker,
              Set mms,
              MAInfo.MAInfoOptions opt)
Creates a MAInfo.

Method Detail

prepareForSerialization

public void prepareForSerialization()
Nullifies some stuff to make the serialization possible. This method MUST be called before serializing this object.


query

public AllocationInformation.AllocationProperties query(HCodeElement allocationSite)
Returns the allocation policy for allocationSite.

Specified by:
query in interface AllocationInformation

analyze

public void analyze()

getAllocatedType

public static HClass getAllocatedType(HCodeElement hce)

print

public void print()
Pretty printer for debug.