summaryrefslogtreecommitdiff
path: root/pthread_stop_world.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-12-08 10:09:06 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:52 +0200
commit02b76359f5f6429151a9d1c15ccf4302eb927e80 (patch)
tree6b44914424930622f553ce6b799d9a29cf646a1e /pthread_stop_world.c
parent176d5bda1e4416a306005d5ee66a902e9db6af6d (diff)
2009-12-08 Ivan Maidanski <ivmai@mail.ru> (really mostly Hans Boehm)
* darwin_stop_world.c (GC_push_all_stacks): Rename activation_frame to traced_stack_sect. * include/private/gc_priv.h (GC_push_all_stack_frames, GC_push_all_register_frames): Ditto. * include/private/pthread_support.h (GC_Thread_Rep): Ditto. * mark_rts.c (GC_push_all_register_frames, GC_push_all_stack_frames, GC_push_all_stack_part_eager_frames, GC_push_current_stack): Ditto. * pthread_stop_world.c (GC_push_all_stacks): Ditto. * pthread_support.c (GC_call_with_gc_active): Ditto. * win32_threads.c (GC_Thread_Rep, GC_call_with_gc_active, GC_push_stack_for): Ditto. * include/private/gc_priv.h (GC_activation_frame_s): Rename to GC_traced_stack_sect_s. * include/private/gc_priv.h (GC_activation_frame): Rename to GC_traced_stack_sect. * misc.c (GC_activation_frame, GC_call_with_gc_active): Ditto. * doc/README.macros (UNICODE): Document.
Diffstat (limited to 'pthread_stop_world.c')
-rw-r--r--pthread_stop_world.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pthread_stop_world.c b/pthread_stop_world.c
index 421151f..cde3712 100644
--- a/pthread_stop_world.c
+++ b/pthread_stop_world.c
@@ -325,7 +325,7 @@ GC_INNER void GC_push_all_stacks(void)
(unsigned)(p -> id), lo, hi);
# endif
if (0 == lo) ABORT("GC_push_all_stacks: sp not set!");
- GC_push_all_stack_frames(lo, hi, p -> activation_frame);
+ GC_push_all_stack_frames(lo, hi, p -> traced_stack_sect);
# ifdef STACK_GROWS_UP
total_size += lo - hi;
# else
@@ -338,8 +338,8 @@ GC_INNER void GC_push_all_stacks(void)
# endif
/* FIXME: This (if p->id==me) may add an unbounded number of */
/* entries, and hence overflow the mark stack, which is bad. */
- GC_push_all_register_frames(bs_lo, bs_hi,
- THREAD_EQUAL(p -> id, me), p -> activation_frame);
+ GC_push_all_register_frames(bs_lo, bs_hi, THREAD_EQUAL(p -> id, me),
+ p -> traced_stack_sect);
total_size += bs_hi - bs_lo; /* bs_lo <= bs_hi */
# endif
}