harpoon.Analysis.MemOpt
Class PreallocOpt.SafeCachingCodeFactory

java.lang.Object
  extended by harpoon.ClassFile.CachingCodeFactory
      extended by harpoon.Analysis.MemOpt.PreallocOpt.SafeCachingCodeFactory
All Implemented Interfaces:
HCodeFactory, SerializableCodeFactory, Serializable
Enclosing class:
PreallocOpt

public static class PreallocOpt.SafeCachingCodeFactory
extends CachingCodeFactory

A CachingCodeFactory that ignores all calls to clear (hence the name).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class harpoon.ClassFile.CachingCodeFactory
parent
 
Constructor Summary
PreallocOpt.SafeCachingCodeFactory(HCodeFactory hcf, boolean saveCode)
           
 
Method Summary
 void clear(HMethod m)
          Remove the cached representation of m from this CachingCodeFactory and its parent.
 
Methods inherited from class harpoon.ClassFile.CachingCodeFactory
convert, getCodeName, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreallocOpt.SafeCachingCodeFactory

public PreallocOpt.SafeCachingCodeFactory(HCodeFactory hcf,
                                          boolean saveCode)
Method Detail

clear

public void clear(HMethod m)
Description copied from class: CachingCodeFactory
Remove the cached representation of m from this CachingCodeFactory and its parent.

Specified by:
clear in interface HCodeFactory
Overrides:
clear in class CachingCodeFactory