mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-06 17:40:29 +02:00
Precise tracing works with heap-conservative-mmc
* libguile/ports.c (scm_make_port_type): Pin the ptob. * libguile/threads.c (scm_trace_thread_roots): No need to trace dynstack roots; we will do so within scm_trace_thread. * libguile/trace.h (scm_trace_struct): Fix arg order to logbit?. (scm_trace_ephemeron_table): Indentation fix. (scm_trace_pointer): Actually trace the protected objects. (scm_trace_vm): (scm_trace_active_dynamic_state): (scm_trace_thread): Fix to trace missing references. (scm_trace_port): Trace the ptob and write_buf_aux. (scm_trace_random_state): Add comment about rng being static. * libguile/whippet-embedder.h (gc_is_valid_conservative_ref_displacement): Don't hide behind an ifdef.
This commit is contained in:
parent
24f5e43e61
commit
e51cf4bf65
5 changed files with 54 additions and 63 deletions
|
@ -107,9 +107,6 @@ scm_trace_thread_roots (struct scm_thread *thread,
|
|||
struct gc_heap *heap, void *trace_data)
|
||||
{
|
||||
trace_pinned (gc_ref_from_heap_object (thread), heap, trace_data);
|
||||
#if GC_CONSERVATIVE_TRACE
|
||||
scm_trace_dynstack_roots (&thread->dynstack, trace_pinned, heap, trace_data);
|
||||
#endif
|
||||
/* FIXME: Trace is not a tagged allocation. */
|
||||
scm_trace_vm_roots (&thread->vm, trace_pinned, trace_ambiguous, heap,
|
||||
trace_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue