summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-18 10:47:44 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:50 +0400
commit7098159ca940cd2ff75233857c13dc5054f8d6d9 (patch)
tree92721b5ce5fc9e4191f3adb45c574631a282e293 /mark_rts.c
parent21bb23541f1d64e861645255c2cfdac54a930012 (diff)
downloadbdwgc-7098159ca940cd2ff75233857c13dc5054f8d6d9.tar.gz
2009-10-18 Ivan Maidanski <ivmai@mail.ru>
* allchblk.c (GC_fail_count, GC_large_alloc_warn_interval): Move the variable declaration to gc_priv.h. * alloc.c (GC_bytes_found, GC_unmap_threshold, GC_force_unmap_on_gcollect): Ditto. * dyn_load.c (GC_no_win32_dlls, GC_wnt): Ditto. * finalize.c (GC_fail_count): Ditto. * include/private/gc_locks.h (GC_allocate_ml, GC_lock_holder, GC_collecting, GC_mark_lock_holder, GC_need_to_lock): Ditto. * include/private/gc_pmark.h (GC_n_mark_procs, GC_mark_stack_size, GC_mark_stack_limit, GC_mark_stack_top, GC_mark_stack, GC_mark_stack_too_small, GC_mark_state): Ditto. * include/private/pthread_support.h (GC_threads, GC_thr_initialized, GC_in_thread_creation): Ditto. * mallocx.c (GC_bytes_found): Ditto. * mark_rts.c (GC_save_regs_ret_val, GC_world_stopped): Ditto. * misc.c (GC_unmap_threshold): Ditto. * os_dep.c (GC_unmap_threshold): Ditto. * pthread_support.c (GC_markers): Ditto. * thread_local_alloc.c (GC_gcjobjfreelist, GC_gcj_malloc_initialized, GC_gcj_kind): Ditto. * win32_threads.c (GC_fault_handler_lock, GC_write_cs, GC_dont_query_stack_min, GC_markers, GC_wnt): Ditto. * include/private/gc_priv.h (GC_EXTERN): New macro (used mostly as a tag for now); defined after "gcconfig.h" inclusion. * include/private/gc_priv.h: Use GC_EXTERN instead of "extern" keyword for most global variables. * alloc.c (GC_copyright): Add the comment about the symbol visibility. * finalize.c (GC_fo_entries): Ditto. * include/private/gc_priv.h (GC_print_stats): Ditto. * misc.c (GC_quiet): Ditto. * mallocx.c (GC_bytes_allocd_tmp): Make the volatile variable STATIC. * pthread_support.c (GC_threads): Add explicit zero initializer (to make the variable definition differ from the declaration).
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 69f7fdbe..8a55e373 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -606,11 +606,6 @@ STATIC void GC_push_all_stack_part_eager_frames(ptr_t lo, ptr_t hi,
# endif
}
-# ifdef IA64
- extern ptr_t GC_save_regs_ret_val; /* defined in mach_dep.c. */
- /* Previously set to backing store pointer. */
-# endif
-
#endif /* !THREADS */
/* Push enough of the current stack eagerly to */
@@ -715,10 +710,6 @@ STATIC void GC_push_regs_and_stack(ptr_t cold_gc_frame)
GC_with_callee_saves_pushed(GC_push_current_stack, cold_gc_frame);
}
-#ifdef THREAD_LOCAL_ALLOC
- extern GC_bool GC_world_stopped; /* defined in alloc.c */
-#endif
-
/*
* Call the mark routines (GC_tl_push for a single pointer, GC_push_conditional
* on groups of pointers) on every top level accessible pointer.