Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
F Class Reference
Inheritance diagram for F:
Inheritance graph
Collaboration diagram for F:
Collaboration graph

List of all members.

Public Member Functions

 F ()
 ~F ()
voidoperator new (size_t size)
voidoperator new (size_t size, GCPlacement gcp)
void operator delete (void *obj)

Static Public Member Functions

static void Test ()

Public Attributes

E e

Static Public Attributes

static int nFreed = 0
static int nAllocated = 0

Detailed Description

Definition at line 138 of file

Constructor & Destructor Documentation

F::F ( ) [inline]

Definition at line 142 of file

F::~F ( ) [inline]

Definition at line 144 of file


Member Function Documentation

void gc::operator delete ( void obj) [inline, inherited]

Definition at line 221 of file gc_cpp.h.

    GC_FREE( obj );}
void * gc::operator new ( size_t  size) [inline, inherited]

Definition at line 210 of file gc_cpp.h.

    return GC_MALLOC( size );}
void * gc::operator new ( size_t  size,
GCPlacement  gcp 
) [inline, inherited]

Definition at line 213 of file gc_cpp.h.

    if (gcp == GC) 
        return GC_MALLOC( size );
    else if (gcp == PointerFreeGC)
       return GC_MALLOC_ATOMIC( size );
        return GC_MALLOC_UNCOLLECTABLE( size );}
static void F::Test ( ) [inline, static]

Definition at line 146 of file

        my_assert( nFreed >= .8 * nAllocated );
        my_assert( 2 * nFreed == E::nFreed );}

Here is the caller graph for this function:

Member Data Documentation

Definition at line 150 of file

int F::nAllocated = 0 [static]

Reimplemented from E.

Definition at line 152 of file

int F::nFreed = 0 [static]

Reimplemented from E.

Definition at line 151 of file

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