]> granicus.if.org Git - gc/commit
2007-08-03 Hans Boehm <Hans.Boehm@hp.com>
authorhboehm <hboehm>
Sat, 4 Aug 2007 06:26:29 +0000 (06:26 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:41 +0000 (21:06 +0400)
commit87b2e2602e766e448e7d65d7a7a7eb3e3cd020cb
tree0162d9d9de90bf1acb3653e4876d39b0e52d6439
parent6db625e8a2a7d5d8b4faf8747b5688cd64f3949e
2007-08-03  Hans Boehm <Hans.Boehm@hp.com>

* alloc.c, backgraph.c, headers.c, include/private/gc_priv.h:
Maintain GC_our_memory and GC_n_memory.
* dbg_mlc.c (GC_print_smashed_obj): Improve message.
(GC_print_all_smashed_proc): Pass client object address instead of
base.
* dyn_load.c (sort_heap_sects): New.  (GC_register_map_entries):
Register sections that are contiguous and merged with our heap.
* malloc.c, os_dep.c (GC_text_mapping): Check for just base name
of libraries.
* malloc.c (calloc): Check for special callers even with
USE_PROC_FOR_LIBRARIES. Move assertion.  Add rudimentary
malloc/free tracing.
* misc.c: No longer call GC_init_lib_bounds explicitly.
* thread_local_alloc.c (GC_malloc, GC_malloc_atomic): Always
initialize on demand.
* tests/test.c: Call GC_INIT only when required.
12 files changed:
ChangeLog
alloc.c
backgraph.c
dbg_mlc.c
dyn_load.c
headers.c
include/private/gc_priv.h
malloc.c
misc.c
os_dep.c
tests/test.c
thread_local_alloc.c