Use thread-local allocation (significant perf. improvement!); added the `boehm-gc...
authorLudovic Courtes <ludovic.courtes@laas.fr>
Sun, 3 Dec 2006 21:59:02 +0000 (21:59 +0000)
committerLudovic Courtès <ludo@gnu.org>
Wed, 10 Sep 2008 20:19:49 +0000 (22:19 +0200)
commite7bca22779c68b800c75fdad8841440dfeb32f8d
tree7f3ed2c38379082723d980d153a323e84bed9ec8
parent8e7b3e98072ef30557a0396367ae8b42170e5507
Use thread-local allocation (significant perf. improvement!); added the `boehm-gc.h' header.

* libguile/Makefile.am (modinclude_HEADERS): Added `boehm-gc.h'.

* libguile/coop-defs.h: Use "libguile/boehm-gc.h" instead of <gc/gc.h>.

* libguile/coop-threads.h: Likewise.

* libguile/coop.c: Likewise.

* libguile/gc.c: Likewise.
  (scm_storage_prehistory): Invoke `GC_init ()'.

* libguile/guardians.c: Use "libguile/boehm-gc.h" instead of <gc/gc.h>.

* libguile/inline.h: Likewise.
  (scm_double_cell): Use `GC_MALLOC' instead of `GC_malloc'.

* libguile/pthread-threads.h: Use "libguile/boehm-gc.h" instead of
  <gc/gc.h>.

* libguile/smob.c: Likewise.

* libguile/smob.h: Likewise.

* libguile/struct.c: Likewise.

* libguile/threads.c: Likewise.

* libguile/weaks.c: Likewise.

git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-51
15 files changed:
libguile/Makefile.am
libguile/boehm-gc.h [new file with mode: 0644]
libguile/coop-defs.h
libguile/coop-pthreads.h
libguile/coop.c
libguile/gc.c
libguile/guardians.c
libguile/inline.h
libguile/pthread-threads.h
libguile/smob.c
libguile/smob.h
libguile/struct.c
libguile/threads.c
libguile/vectors.c
libguile/weaks.c