diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2017-11-17 15:17:03 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2018-12-07 14:17:55 -0500 |
commit | abb742af3affbe00da625a1272d682ac5fd4c964 (patch) | |
tree | a201eae99bee574f5cf0fa2ffa208d9928c07e37 /psi/igc.c | |
parent | eab61428b3fa1e4078e71febefe406dad499814e (diff) | |
download | ghostpdl-abb742af3affbe00da625a1272d682ac5fd4c964.tar.gz |
Commit of gpdl-shared-device branch.
This commit is a squashed version of the gpdl-shared-device
branch. Essentially this is a first version of the new
language switching mechanism.
This does not build as part as "all", but rather as "experimental"
or "gpdl".
Diffstat (limited to 'psi/igc.c')
-rw-r--r-- | psi/igc.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -238,11 +238,13 @@ gs_gc_reclaim(vm_spaces * pspaces, bool global) /* Register the allocators themselves as roots, */ /* so we mark and relocate the change and save lists properly. */ - for_spaces(ispace, max_trace) + for_spaces(ispace, max_trace) { + rp = &space_roots[ispace]; gs_register_struct_root((gs_memory_t *)space_memories[ispace], - &space_roots[ispace], + &rp, (void **)&space_memories[ispace], "gc_top_level"); + } end_phase(state.heap,"register space roots"); |