The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback
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-1999 The Mozilla Organization.