You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Interface calypso.util.MemoryPressure


public interface  MemoryPressure
{
          // Methods 3
     public abstract void panic();
     public abstract void postGC(long, long);
     public abstract void preGC(long, long);
}



Methods


preGC

   public abstract void preGC(long aCurrentHeapSpace, 
                              long aMaximumHeapSpace) 

This method is called by the garbage collector just before a garbage collection is about to begin.



postGC

   public abstract void postGC(long aCurrentHeapSpace, 
                               long aMaximumHeapSpace) 

This method is called by the garbage collector just after a collection has finished.



panic

   public abstract void panic() 

This method is called by the garbage collector when the heap is essentially full and can no longer grow. When this occurs all caches of objects should be flushed.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4