summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-12-08 11:31:50 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:52 +0200
commit197742f24da7b83431132559f8e306d5da5df8f0 (patch)
treebe7f00595a6c6e838382aca96b58f4c88e9211a3 /mark_rts.c
parent02b76359f5f6429151a9d1c15ccf4302eb927e80 (diff)
2009-12-08 Ivan Maidanski <ivmai@mail.ru>
* darwin_stop_world.c (GC_push_all_stacks): Fix a bug (call GC_push_all_stack() instead of GC_push_all_stack_frames()). * include/private/gc_priv.h (GC_push_all_stack_frames, GC_push_all_register_frames): Rename to GC_push_all_stack_sections and GC_push_all_register_sections, respectively. * mark_rts.c (GC_push_all_stack_frames, GC_push_all_register_frames, GC_push_all_stack_part_eager_frames, GC_push_current_stack): Ditto. * pthread_stop_world.c (GC_push_all_stacks): Ditto. * win32_threads.c (GC_push_stack_for): Ditto. * misc.c (GC_call_with_gc_active): Rename "frame" local variable to "stacksect". * pthread_support.c (GC_call_with_gc_active): Ditto. * win32_threads.c (GC_call_with_gc_active): Ditto. * pthread_support.c (GC_call_with_gc_active): Update FIXME for Darwin. * win32_threads.c (GC_Thread_Rep): Update the comment for traced_stack_sect.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 779d542..377be44 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -479,8 +479,8 @@ STATIC void GC_push_conditional_with_exclusions(ptr_t bottom, ptr_t top,
}
#ifdef IA64
- /* Similar to GC_push_all_stack_frames() but for IA-64 registers store. */
- GC_INNER void GC_push_all_register_frames(ptr_t bs_lo, ptr_t bs_hi,
+ /* Similar to GC_push_all_stack_sections() but for IA-64 registers store. */
+ GC_INNER void GC_push_all_register_sections(ptr_t bs_lo, ptr_t bs_hi,
int eager, struct GC_traced_stack_sect_s *traced_stack_sect)
{
while (traced_stack_sect != NULL) {
@@ -505,7 +505,7 @@ STATIC void GC_push_conditional_with_exclusions(ptr_t bottom, ptr_t top,
#ifdef THREADS
-GC_INNER void GC_push_all_stack_frames(ptr_t lo, ptr_t hi,
+GC_INNER void GC_push_all_stack_sections(ptr_t lo, ptr_t hi,
struct GC_traced_stack_sect_s *traced_stack_sect)
{
while (traced_stack_sect != NULL) {
@@ -577,8 +577,8 @@ STATIC void GC_push_all_stack_partially_eager(ptr_t bottom, ptr_t top,
# endif
}
-/* Similar to GC_push_all_stack_frames() but also uses cold_gc_frame. */
-STATIC void GC_push_all_stack_part_eager_frames(ptr_t lo, ptr_t hi,
+/* Similar to GC_push_all_stack_sections() but also uses cold_gc_frame. */
+STATIC void GC_push_all_stack_part_eager_sections(ptr_t lo, ptr_t hi,
ptr_t cold_gc_frame, struct GC_traced_stack_sect_s *traced_stack_sect)
{
GC_ASSERT(traced_stack_sect == NULL || cold_gc_frame == NULL ||
@@ -639,7 +639,7 @@ STATIC void GC_push_current_stack(ptr_t cold_gc_frame, void * context)
GC_push_all_eager(cold_gc_frame, GC_approx_sp());
# endif
# else
- GC_push_all_stack_part_eager_frames(GC_approx_sp(), GC_stackbottom,
+ GC_push_all_stack_part_eager_sections(GC_approx_sp(), GC_stackbottom,
cold_gc_frame, GC_traced_stack_sect);
# ifdef IA64
/* We also need to push the register stack backing store. */
@@ -658,11 +658,11 @@ STATIC void GC_push_current_stack(ptr_t cold_gc_frame, void * context)
GC_traced_stack_sect->backing_store_end)
cold_gc_bs_pointer =
GC_traced_stack_sect->backing_store_end;
- GC_push_all_register_frames(BACKING_STORE_BASE,
+ GC_push_all_register_sections(BACKING_STORE_BASE,
cold_gc_bs_pointer, FALSE, GC_traced_stack_sect);
GC_push_all_eager(cold_gc_bs_pointer, bsp);
} else {
- GC_push_all_register_frames(BACKING_STORE_BASE, bsp,
+ GC_push_all_register_sections(BACKING_STORE_BASE, bsp,
TRUE /* eager */, GC_traced_stack_sect);
}
/* All values should be sufficiently aligned that we */