Re [gclist] Boehm GC & threads on Linux
Michael Spertus
mps@geodesic.com
Sun, 20 Feb 2000 09:16:18 -0600
At 06:05 AM 2/20/00 -0500, you wrote:
>gclist-digest Sunday, February 20 2000 Volume 03 : Number 069
>
>
>
>
>Date: Sat, 19 Feb 2000 15:07:25 -0800
>From: "Boehm, Hans" <hboehm@exch.hpl.hp.com>
>Subject: RE: [gclist] Boehm GC & threads on Linux
>
>Linuxthreads in fact uses a two level tree data structure to store
>thread specific data. I think I scan the first, but the second is currently
>(where current is defined to be the snapshot in my workarea) allocated
>with calloc, and thus not scanned. This may have changed fairly recently,
>I haven't checked.
Great Circle may be a good alternative here. We manage memory allocated
with calloc, malloc, etc. This ensures we get thread local storage. As a
nice side effect, it also allows you (at your choice) to GC all memory and
not explicitly call GC_Malloc anywhere.
Mike