init.c File Reference

Initialization. More...

#include "tm.h"
#include "internal.h"
Include dependency graph for init.c:

Go to the source code of this file.

Defines

#define tm_ENVIRON_0_ALLOCATED_ON_STACK   1
#define X(C)

Functions

static __inline void tm_type_init (tm_type *t, size_t size)
 Initialize a new tm_type of a given size.
static int tm_stack_growth (char *ptr, int depth)
 Determine the direction of stack growth.
void tm_init (int *argcp, char ***argvp, char ***envpp)
 API: Initialize the tm allocator.

Variables

long tm_node_parcel_some_size = 8
 Nodes to parcel from a tm_block per tm_alloc().
long tm_node_scan_some_size = 32 * 2
 Words to scan per tm_alloc().
long tm_node_sweep_some_size = 8
 Nodes to sweep per tm_alloc().
long tm_node_unmark_some_size = 8
 Nodes to unmark per tm_alloc().
long tm_block_sweep_some_size = 2
 Number of blocks per tm_alloc() to sweep after sweep phase.
int tm_block_min_free = 4
 Minimum number of tm_blocks to retain on block free list.
size_t tm_os_alloc_max = 64 * 1024 * 1024
int tm_root_scan_full = 1
 If true, all roots are scanned atomically before moving to the SCAN phase.

Detailed Description

Initialization.

Definition in file init.c.


Define Documentation

#define tm_ENVIRON_0_ALLOCATED_ON_STACK   1
#define X (  ) 
Value:

Referenced by tm_init().


Generated on Mon Jan 25 06:33:12 2010 for TM(tredmill) by  doxygen 1.6.1