summaryrefslogtreecommitdiff
path: root/libguile/gc-segment.c
AgeCommit message (Collapse)AuthorFilesLines
2008-09-05Removed useless files; beautified `libguile/Makefile.am'.Ludovic Courtes1-561/+0
* libguile/Makefile.am: Beautified backslashification (complements `patch-1'). git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-20
2006-04-17merge from 1.8 branchKevin Ryde1-1/+1
2006-02-14Ludovic's patch for scm_t_sweep_statistics.Han-Wen Nienhuys1-37/+46
2005-05-23The FSF has a new address.Marius Vollmer1-1/+1
2005-03-10* gc.h, gc.c (SCM_FREECELL_P): Removed for good.Marius Vollmer1-12/+4
(scm_block_gc, scm_gc_heap_lock): Removed. Removed all uses. (scm_gc_running_p): Now a macro that refers to the scm_i_thread field. (scm_i_sweep_mutex): Now a non-recursive mutex. GC can not happen recursively. (scm_igc, scm_i_gc): Renamed former to latter. Changed all uses. Do not lock scm_i_sweep_mutex, which is now non-recursive, or set scm_gc_running_p. Do not run the scm_after_gc_c_hook. (scm_gc): Lock scm_i_sweep_mutex, set scm_gc_running_p and run the scm_after_gc_c_hook here. (scm_gc_for_new_cell): Set scm_gc_running_p here and run the scm_after_gc_c_hook when a full GC has in fact been performed. (scm_i_expensive_validation_check): Call scm_gc, not scm_i_gc. * gc-segment.c (scm_i_get_new_heap_segment): Do not check scm_gc_heap_lock. * gc-malloc.c (scm_realloc, increase_mtrigger): Set scm_gc_running_p while the scm_i_sweep_mutex is locked.
2005-01-27* gc.c (s_scm_gc_live_object_stats): return alist, not hashtable.Han-Wen Nienhuys1-2/+33
* gc-segment.c (scm_i_all_segments_statistics): new function. (scm_i_heap_segment_statistics): new function * gc.c (s_scm_gc_live_object_stats): new GUILE callable: return statistics on the number of live objects of each type. * gc-card.c (scm_i_tag_name): new function. (scm_i_card_statistics): new function.
2004-10-19(scm_i_get_new_heap_segment): Limit size of newMarius Vollmer1-0/+2
segment to scm_max_segment_size.
2004-09-142004-09-13 Jan Nieuwenhuizen <janneke@gnu.org>Han-Wen Nienhuys1-1/+1
* srfi-13.c (scm_string_contains, s_scm_string_contains_ci): Bugfix: when subtracting unsigned values, make sure that result does not wrap.
2003-04-09(snarfcppopts): use DEFAULT_INCLUDESHan-Wen Nienhuys1-0/+2
instead of INCLUDES
2003-04-05Changed license terms to the plain LGPL thru-out.Marius Vollmer1-35/+11
2002-09-05* gc-segment.c (scm_i_make_initial_segment): check user settingsHan-Wen Nienhuys1-3/+6
for sanity. * gc-malloc.c (scm_gc_init_malloc): check user settings for sanity. (scm_gc_register_collectable_memory): prevent overflow of memory counts. * gc-freelist.c (scm_init_freelist): check user settings for sanity. * gc-malloc.c (scm_gc_register_collectable_memory): use floats; these won't ever wrap around with high memory usage. * gc-freelist.c: include <stdio.h> * gc-malloc.c: add DEBUGINFO for mtrigger GCs.
2002-09-05* struct.h: change scm_structs_to_free to scm_i_structs_to_freeHan-Wen Nienhuys1-1/+12
* gc-malloc.c (scm_gc_register_collectable_memory): use floats; these won't ever wrap around with high memory usage. * gc-malloc.c: add DEBUGINFO for mtrigger GCs.
2002-08-28* gc.h: remove DOUBLECELL card flags.Han-Wen Nienhuys1-27/+9
* gc-malloc.c (scm_calloc): try to use calloc() before calling scm_realloc(). * gc-segment.c (scm_i_initialize_heap_segment_data): remove card init loop; handle this from scm_init_card_freelist() * gc-card.c (scm_init_card_freelist): init bit vector here.
2002-08-25(scm_i_get_new_heap_segment): use float in stead ofHan-Wen Nienhuys1-16/+5
unsigned numbers for computing minimum heap increment. This prevents weird results when a a negative minimum increment is computed.
2002-08-23(scm_i_get_new_heap_segment): Oops. We want segmentHan-Wen Nienhuys1-1/+1
length *at* least SCM_MIN_HEAP_SEG_SIZE, not at most.
2002-08-21make scm_cells_allocated unsigned again. Thanks toHan-Wen Nienhuys1-1/+1
Bill Schottstaedt for the bug report
2002-08-16* mallocs.c (scm_malloc_obj): use scm_gc_malloc in stead ofHan-Wen Nienhuys1-10/+3
malloc. * gc-segment.c (scm_i_get_new_heap_segment): remove cluster cruft: only use SCM_MIN_HEAP_SEG_SIZE. * ports.c (scm_add_to_port_table): add backwards compatibility function * ports.h: use scm_i_ prefix for port table and port table size.
2002-08-08* gc.h: add scm_debug_cells_gc_interval to public interfaceHan-Wen Nienhuys1-1/+1
* gc-card.c ("sweep_card"): set scm_gc_running while sweeping. * gc.c (scm_i_expensive_validation_check): separate expensive validation checks from cheap ones.
2002-08-04gc statistic tweaksHan-Wen Nienhuys1-3/+12
2002-08-04 more codeHan-Wen Nienhuys1-0/+562