harpoon.Analysis.PreciseGC
Class WriteBarrierStats
java.lang.Object
harpoon.Analysis.PreciseGC.WriteBarrierStats
public class WriteBarrierStats
- extends Object
WriteBarrierStats
emits data needed for gathering write
barrier statistics. This pass will have no effect if
WriteBarrierTreePass
is also being used.
- Version:
- $Id: WriteBarrierStats.java,v 1.6 2004/02/08 03:20:07 cananian Exp $
- Author:
- Karen Zee <kkz@tmi.lcs.mit.edu>
Method Summary |
HCodeFactory |
codeFactory()
|
harpoon.Analysis.PreciseGC.WriteBarrierData |
getData(HClass hc,
Frame f)
returns WriteBarrierData object for inserting
static data needed to gather dynamic statistics about write
barriers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriteBarrierStats
public WriteBarrierStats(Frame f,
HCodeFactory parent,
ClassHierarchy ch,
PrintStream out,
Linker linker)
- Creates a
WriteBarrierStats
, and
performs conversion on all callable methods.
codeFactory
public HCodeFactory codeFactory()
getData
public harpoon.Analysis.PreciseGC.WriteBarrierData getData(HClass hc,
Frame f)
- returns
WriteBarrierData
object for inserting
static data needed to gather dynamic statistics about write
barriers.