diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-04-22 18:22:30 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-04-22 18:47:23 +0100 |
commit | 15ee3fb57b660a796f8ac40c8784cfb165405336 (patch) | |
tree | c164e343b6c654d14953fc1561fd50fee73b4f38 /psi/igc.h | |
parent | e749f3d65d203edbc7c140ec8fd76b66805d27ff (diff) | |
download | ghostpdl-15ee3fb57b660a796f8ac40c8784cfb165405336.tar.gz |
Change standard allocator chunks to clumps.
We are in the confusing position of having a standard
allocator that allocates in chunks, along with a chunked
allocator.
To avoid this confusing clash of terminology, we do some
global renames to change the standard allocator to allocate
in 'clumps' instead.
Diffstat (limited to 'psi/igc.h')
-rw-r--r-- | psi/igc.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -59,7 +59,7 @@ typedef struct name_table_s name_table; #endif struct gc_state_s { const gc_procs_with_refs_t *procs; /* must be first */ - chunk_locator_t loc; + clump_locator_t loc; vm_spaces spaces; int min_collect; /* avm_space */ bool relocating_untraced; /* if true, we're relocating */ @@ -68,7 +68,7 @@ struct gc_state_s { name_table *ntable; /* (implicitly referenced by names) */ gs_memory_t *cur_mem; #ifdef DEBUG - chunk_t *container; + clump_t *container; #endif }; @@ -79,8 +79,8 @@ ptr_proc_mark(ptr_ref_mark); /* Exported by ilocate.c for igc.c */ void ialloc_validate_memory(const gs_ref_memory_t *, gc_state_t *); -void ialloc_validate_chunk(const chunk_t *, gc_state_t *); -void ialloc_validate_object(const obj_header_t *, const chunk_t *, +void ialloc_validate_clump(const clump_t *, gc_state_t *); +void ialloc_validate_object(const obj_header_t *, const clump_t *, gc_state_t *); /* Exported by igc.c for ilocate.c */ |