Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsIRecyclingAllocator Interface Reference

import "nsIRecyclingAllocator.idl";

Inheritance diagram for nsIRecyclingAllocator:

nsIMemory nsISupports

List of all members.

Detailed Description

nsIRecyclingAllocator: A wrapper for the nsRecyclingAllocator

Holds allocations and reuses them for subsequent allocs. Thread safe and uses a timer to release freelist.


Definition at line 52 of file nsIRecyclingAllocator.idl.

Public Member Functions

voidPtr alloc (in size_t size)
void free (in voidPtr ptr)
void heapMinimize (in boolean immediate)
void init (in size_t nblocks, in size_t recycleAfter, in string id)
boolean isLowMemory ()
voidPtr realloc (in voidPtr ptr, in size_t newSize)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

struct nsISupports_vtblvtbl

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index