The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Interface calypso.util.MemoryPressure
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified September 9, 1998.