harpoon.Analysis.PreciseGC
Class DynamicWBInserter

java.lang.Object
  extended by harpoon.Analysis.Transformation.MethodMutator
      extended by harpoon.Analysis.PreciseGC.DynamicWBInserter
All Implemented Interfaces:
Serializable

public class DynamicWBInserter
extends MethodMutator

DynamicWBInserter inserts instructions where needed to set and clear the per-object bit for dynamic write barriers.

Version:
$Id: DynamicWBInserter.java,v 1.2 2004/02/08 03:20:07 cananian Exp $
Author:
Karen Zee <kkz@tmi.lcs.mit.edu>
See Also:
Serialized Form

Nested Class Summary
static interface DynamicWBInserter.DynamicWBAnalysis
          A DynamicWBAnalysis identifies NEW and ANEW Quads for which corresponding write barriers are removed.
 
Constructor Summary
DynamicWBInserter(HCodeFactory parent, Linker linker, ClassHierarchy ch, DynamicWBInserter.DynamicWBAnalysis dwba)
          Creates a DynamicWBInserter.
 
Method Summary
protected  HCode mutateHCode(HCodeAndMaps input)
          Override this method to effect transformations on split methods.
 
Methods inherited from class harpoon.Analysis.Transformation.MethodMutator
cloneHCode, codeFactory, mutateCodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicWBInserter

public DynamicWBInserter(HCodeFactory parent,
                         Linker linker,
                         ClassHierarchy ch,
                         DynamicWBInserter.DynamicWBAnalysis dwba)
Creates a DynamicWBInserter.

Method Detail

mutateHCode

protected HCode mutateHCode(HCodeAndMaps input)
Description copied from class: MethodMutator
Override this method to effect transformations on split methods.

Overrides:
mutateHCode in class MethodMutator