2003-03-03 Hans Boehm <Hans.Boehm@hp.com>
* mark_rts.c (GC_cond_register_dynamic_libraries): add. (GC_push_roots): explicitly mark free list headers, register dynamic libraries only if !REGISTER_LIBRARIES_EARLY. * alloc.c (GC_stopped_mark): Conditionally call GC_cond_register_dynamic_libraries(). (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc. * dyn_load.c (GC_register_main_static_data): define. (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)): no longer skip main data. * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define. (GC_init_inner): Make main data registration conditional. * include/private/gc_priv.h (GC_register_main_static_data): declare. * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define for LINUX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63727 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- boehm-gc/ChangeLog 16 additions, 0 deletionsboehm-gc/ChangeLog
- boehm-gc/alloc.c 5 additions, 0 deletionsboehm-gc/alloc.c
- boehm-gc/dyn_load.c 41 additions, 13 deletionsboehm-gc/dyn_load.c
- boehm-gc/include/private/gc_priv.h 5 additions, 0 deletionsboehm-gc/include/private/gc_priv.h
- boehm-gc/include/private/gcconfig.h 9 additions, 0 deletionsboehm-gc/include/private/gcconfig.h
- boehm-gc/mark_rts.c 32 additions, 8 deletionsboehm-gc/mark_rts.c
- boehm-gc/misc.c 10 additions, 2 deletionsboehm-gc/misc.c
Loading
Please register or sign in to comment