harpoon.Instrumentation.AllocationStatistics
Class InstrumentedAllocationStrategy
java.lang.Object
harpoon.Backend.Runtime1.AllocationStrategy
harpoon.Backend.Runtime1.MallocAllocationStrategy
harpoon.Instrumentation.AllocationStatistics.InstrumentedAllocationStrategy
- All Implemented Interfaces:
- Serializable
public class InstrumentedAllocationStrategy
- extends MallocAllocationStrategy
InstrumentedAllocationStrategy
- Version:
- $Id: InstrumentedAllocationStrategy.java,v 1.4 2003/02/11 20:16:01 salcianu Exp $
- Author:
- Alexandru Salcianu <salcianu@MIT.edu>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstrumentedAllocationStrategy
public InstrumentedAllocationStrategy(Frame f)
- Creates a
InstrumentedAllocationStrategy
.
memAlloc
public Exp memAlloc(TreeFactory tf,
HCodeElement source,
DerivationGenerator dg,
AllocationInformation.AllocationProperties ap,
Exp length)
- Description copied from class:
AllocationStrategy
- Return a
Tree.Exp
created with the given
TreeFactory
that returns a pointer to a piece of
memory length
bytes long.
- Overrides:
memAlloc
in class MallocAllocationStrategy
DECLARE
protected static Exp DECLARE(DerivationGenerator dg,
HClass hc,
Exp exp)