|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--harpoon.Analysis.PointerAnalysis.ODMAInfo
Nested Class Summary |
Nested classes inherited from class harpoon.Analysis.Maps.AllocationInformation |
AllocationInformation.AllocationProperties |
Field Summary | |
static boolean |
DO_METHOD_INLINING
Enabless the application of some method inlining to increase the effectiveness of the stack allocation. |
static boolean |
DO_PREALLOCATION
Enables the use of preallocation: if an object will be accessed only by a thread (ie it is created just to pass some parameters to a thread), it can be preallocated into the heap of that thread. |
static int |
MAX_INLINING_SIZE
Only methods that have less than MAX_INLINING_SIZE
instructions can be inlined. |
static boolean |
MEM_OPTIMIZATION
|
static boolean |
NO_TG
Forces the allocation of ALL the threads on the stack. |
static Map |
Nodes2Status
|
static int |
nStudiedNode
|
static boolean |
SYNC_ELIM
|
Constructor Summary | |
ODMAInfo(ODPointerAnalysis pa,
HCodeFactory hcf,
Set mms,
boolean USE_INTER_THREAD,
boolean DO_STACK_ALLOCATION,
boolean DO_THREAD_ALLOCATION,
boolean GEN_SYNC_FLAG)
Creates a ODMAInfo . |
Method Summary | |
void |
analyze_call(MetaMethod mm,
HMethod hole)
|
void |
analyze_mm(MetaMethod mm)
|
void |
analyze_mm(MetaMethod mm,
PANode node,
boolean tryThread)
Only try to stack allocate the node given as second argument. |
void |
analyze_mm(MetaMethod mm,
Set nodes)
|
void |
analyze()
|
boolean |
analyzeholes(ODParIntGraph pig,
MetaMethod current_mmethod,
PANode node)
|
boolean |
captured(ODParIntGraph pig,
MetaMethod current_mmethod,
PANode node)
|
boolean |
captured(ODParIntGraph pig,
MetaMethod current_mmethod,
PANode node,
boolean methodcapture)
|
boolean |
captured(ODParIntGraph pig,
MetaMethod current_mmethod,
PANode node,
boolean methodcapture,
boolean verbose)
|
static void |
do_additional_testing(HCodeFactory hcf)
|
void |
do_the_inlining()
|
void |
generate_inlining_hints(MetaMethod mm,
Set candidates,
Set winners,
MetaMethod mcaller,
CALL cs)
|
HClass |
getAllocatedType(HCodeElement hce)
|
MyAP |
getAPObj(Quad q)
|
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 |
public static boolean DO_METHOD_INLINING
public static int MAX_INLINING_SIZE
MAX_INLINING_SIZE
instructions can be inlined. Just a simple way of preventing
the code bloat.
public static boolean DO_PREALLOCATION
public static boolean NO_TG
public static Map Nodes2Status
public static int nStudiedNode
public static boolean SYNC_ELIM
public static boolean MEM_OPTIMIZATION
Constructor Detail |
public ODMAInfo(ODPointerAnalysis pa, HCodeFactory hcf, Set mms, boolean USE_INTER_THREAD, boolean DO_STACK_ALLOCATION, boolean DO_THREAD_ALLOCATION, boolean GEN_SYNC_FLAG)
ODMAInfo
.
Method Detail |
public void prepareForSerialization()
this
object.
public AllocationInformation.AllocationProperties query(HCodeElement allocationSite)
allocationSite
.
query
in interface AllocationInformation
public void analyze()
public HClass getAllocatedType(HCodeElement hce)
public final void analyze_mm(MetaMethod mm)
public final void analyze_mm(MetaMethod mm, Set nodes)
public final void analyze_mm(MetaMethod mm, PANode node, boolean tryThread)
public MyAP getAPObj(Quad q)
public void print()
public static void do_additional_testing(HCodeFactory hcf)
public void generate_inlining_hints(MetaMethod mm, Set candidates, Set winners, MetaMethod mcaller, CALL cs)
public void do_the_inlining()
public boolean captured(ODParIntGraph pig, MetaMethod current_mmethod, PANode node)
public boolean analyzeholes(ODParIntGraph pig, MetaMethod current_mmethod, PANode node)
public boolean captured(ODParIntGraph pig, MetaMethod current_mmethod, PANode node, boolean methodcapture)
public boolean captured(ODParIntGraph pig, MetaMethod current_mmethod, PANode node, boolean methodcapture, boolean verbose)
public void analyze_call(MetaMethod mm, HMethod hole)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |