Classes | |
struct | Collector |
Defines | |
#define | NORMAL_SIZE_SEGMENT_GRANULARITY_BITS 8 |
#define | NORMAL_SIZE_SEGMENT_GRANULARITY (1 << NORMAL_SIZE_SEGMENT_GRANULARITY_BITS) |
#define | NORMAL_SIZE_SEGMENT_NUM (GC_OBJ_SIZE_THRESHOLD / NORMAL_SIZE_SEGMENT_GRANULARITY) |
#define | SIZE_TO_SEGMENT_INDEX(size) ((((size) + NORMAL_SIZE_SEGMENT_GRANULARITY-1) >> NORMAL_SIZE_SEGMENT_GRANULARITY_BITS) - 1) |
#define | SEGMENT_INDEX_TO_SIZE(index) (((index)+1) << NORMAL_SIZE_SEGMENT_GRANULARITY_BITS) |
Functions | |
void | collector_destruct (GC *gc) |
void | collector_initialize (GC *gc) |
void | collector_reset (GC *gc) |
void | collector_execute_task (GC *gc, TaskType task_func, Space *space) |
void | collector_execute_task_concurrent (GC *gc, TaskType task_func, Space *space, unsigned int num_collectors) |
void | collector_release_weakref_sets (GC *gc, unsigned int num_collectors) |
void | collector_restore_obj_info (Collector *collector) |
void | gc_gen_hook_for_collector_init (Collector *collector) |
Boolean | is_collector_finished (GC *gc) |
void | wait_collection_finish (GC *gc) |
Boolean | gc_collection_result (GC *gc) |
void | gc_reset_collect_result (GC *gc) |
Variables | |
Boolean | is_collector_local_alloc |
#define NORMAL_SIZE_SEGMENT_GRANULARITY_BITS 8 |
#define NORMAL_SIZE_SEGMENT_GRANULARITY (1 << NORMAL_SIZE_SEGMENT_GRANULARITY_BITS) |
#define NORMAL_SIZE_SEGMENT_NUM (GC_OBJ_SIZE_THRESHOLD / NORMAL_SIZE_SEGMENT_GRANULARITY) |
#define SIZE_TO_SEGMENT_INDEX | ( | size | ) | ((((size) + NORMAL_SIZE_SEGMENT_GRANULARITY-1) >> NORMAL_SIZE_SEGMENT_GRANULARITY_BITS) - 1) |
#define SEGMENT_INDEX_TO_SIZE | ( | index | ) | (((index)+1) << NORMAL_SIZE_SEGMENT_GRANULARITY_BITS) |
void collector_destruct | ( | GC * | gc | ) |
void collector_initialize | ( | GC * | gc | ) |
void collector_reset | ( | GC * | gc | ) |
void collector_execute_task_concurrent | ( | GC * | gc, | |
TaskType | task_func, | |||
Space * | space, | |||
unsigned int | num_collectors | |||
) |
void collector_release_weakref_sets | ( | GC * | gc, | |
unsigned int | num_collectors | |||
) |
void collector_restore_obj_info | ( | Collector * | collector | ) |
void gc_gen_hook_for_collector_init | ( | Collector * | collector | ) |
Boolean is_collector_finished | ( | GC * | gc | ) |
void wait_collection_finish | ( | GC * | gc | ) |
Boolean gc_collection_result | ( | GC * | gc | ) |
void gc_reset_collect_result | ( | GC * | gc | ) |
Boolean is_collector_local_alloc |
Genereated on Tue Mar 11 19:25:33 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.