Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Tree [e90b2f] / src / gc /
History



File Date Author Commit
Mac_files 2002-09-20 jjgarcia jjgarcia [474593] Version 6.1 of the garbage collector imported.
cord 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
doc 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
include 2011-01-30 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [5cc562] Ported the Boehm-Weiser garbage collector to th...
libatomic_ops-1.2 2011-01-30 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [6be0eb] Ported src/gc/libatomic_ops-1.2/src/atomic_ops/...
tests 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
AmigaOS.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
BCC_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
ChangeLog 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
EMX_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
MacOS.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
MacProjects.sit.hqx 2001-06-26 jjgarcia jjgarcia [2d8d0c] Initial revision
Makefile.DLLs 2001-06-26 jjgarcia jjgarcia [2d8d0c] Initial revision
Makefile.am 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
Makefile.direct 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
Makefile.dj 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
Makefile.in 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
NT_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
NT_STATIC_THREADS_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
NT_THREADS_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
NT_X64_STATIC_THREADS_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
NT_X64_THREADS_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
OS2_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
PCR-Makefile 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
README.QUICK 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
SMakefile.amiga 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
WCC_MAKEFILE 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
acinclude.m4 2003-11-18 jjgarcia jjgarcia [4eac79] Preliminary support for POSIX threads.
aclocal.m4 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
add_gc_prefix.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
allchblk.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
alloc.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
alpha_mach_dep.S 2006-06-17 jgarcia jgarcia [63e544] Version 6.7 of Boehm-Weiser garbage collector (...
backgraph.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
bdw-gc.pc 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
bdw-gc.pc.in 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
blacklst.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
callprocs 2001-06-26 jjgarcia jjgarcia [2d8d0c] Initial revision
checksums.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
compile 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
config.guess 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
config.sub 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
configure 2010-09-29 Samium Gromoff Samium Gromoff [ef0b0a] Fix configure not picking up win32 threads on M...
configure.ac 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
configure.host 2004-10-29 jjgarcia jjgarcia [6d862b] Imported version 6.3 of the garbage collector
configure_atomic_ops.sh 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
darwin_stop_world.c 2011-01-30 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [5cc562] Ported the Boehm-Weiser garbage collector to th...
dbg_mlc.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
depcomp 2002-09-20 jjgarcia jjgarcia [474593] Version 6.1 of the garbage collector imported.
digimars.mak 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
dyn_load.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
finalize.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
gc.mak 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
gc_cpp.cc 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
gc_cpp.cpp 2001-08-19 jjgarcia jjgarcia [211c80] Incorporate version 6.0 of the Boehm-Weiser gar...
gc_dlopen.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
gcj_mlc.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
gcname.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
headers.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
hpux_test_and_clear.s 2001-06-26 jjgarcia jjgarcia [2d8d0c] Initial revision
ia64_save_regs_in_stack.s 2002-09-20 jjgarcia jjgarcia [474593] Version 6.1 of the garbage collector imported.
if_mach.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
if_not_there.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
install-sh 2002-09-20 jjgarcia jjgarcia [474593] Version 6.1 of the garbage collector imported.
libtool.m4 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
ltmain.sh 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
mach_dep.c 2009-09-29 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [0e7563] Change needed for OS X 10.6 Leopard: ucontext.h...
malloc.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
mallocx.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
mark.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
mark_rts.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
mips_sgi_mach_dep.s 2003-11-18 jjgarcia jjgarcia [4eac79] Preliminary support for POSIX threads.
mips_ultrix_mach_dep.s 2001-06-26 jjgarcia jjgarcia [2d8d0c] Initial revision
misc.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [4a351a] Fixes related to the new version of garbage col...
missing 2002-09-20 jjgarcia jjgarcia [474593] Version 6.1 of the garbage collector imported.
mkinstalldirs 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
msvc_dbg.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
new_hblk.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
obj_map.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
os_dep.c 2009-09-25 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [c36eb2] Stack overflows now jump to the outermost tople...
pcr_interface.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
pthread_stop_world.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
pthread_support.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
ptr_chck.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
real_malloc.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
reclaim.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
rs6000_mach_dep.s 2002-09-20 jjgarcia jjgarcia [474593] Version 6.1 of the garbage collector imported.
setjmp_t.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
sparc_mach_dep.S 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
sparc_netbsd_mach_dep.s 2001-08-19 jjgarcia jjgarcia [211c80] Incorporate version 6.0 of the Boehm-Weiser gar...
sparc_sunos4_mach_dep.s 2001-06-26 jjgarcia jjgarcia [2d8d0c] Initial revision
specific.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
stubborn.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
thread_local_alloc.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
threadlibs.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
typd_mlc.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...
win32_threads.c 2009-04-03 Juan Jose Garcia Ripoll Juan Jose Garcia Ripoll [3687fa] Upgraded Boehm-Weiser garbage collector to vers...

Read Me

Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
Copyright (c) 1991-1995 by Xerox Corporation.  All rights reserved.
Copyright (c) 1996-1999 by Silicon Graphics.  All rights reserved.
Copyright (c) 1999-2001 by Hewlett-Packard. All rights reserved.

THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.

Permission is hereby granted to use or copy this program
for any purpose,  provided the above notices are retained on all copies.
Permission to modify the code and to distribute modified code is granted,
provided the above notices are retained, and a notice that the code was
modified is included with the above copyright notice.

A few files have other copyright holders. A few of the files needed
to use the GNU-style build procedure come with a modified GPL license
that appears not to significantly restrict use of the collector, though
use of those files for a purpose other than building the collector may
require the resulting code to be covered by the GPL.

For more details and the names of other contributors, see the
doc/README* files and include/gc.h.  This file describes typical use of
the collector on a machine that is already supported.

For the version number, see doc/README or version.h.

INSTALLATION:
Under UN*X, Linux:
Alternative 1 (the old way): type "make test" in this directory.
	Link against gc.a.  With the most recent GC distributions
	you may have to copy Makefile.direct to Makefile first.

Alternative 2 (the new way): type
	"./configure --prefix=<dir>; make; make check; make install".
	Link against <dir>/lib/libgc.a or <dir>/lib/libgc.so.
	See README.autoconf for details

Under Windows 95, 98, Me, NT, or 2000:
copy the appropriate makefile to MAKEFILE, read it, and type "nmake test".
(Under Windows, this assumes you have Microsoft command-line tools
installed, and suitably configured.)
Read the machine specific README in the doc directory if one exists.

If you need thread support, you will need to follow the special
platform-dependent instructions (win32), or define GC_THREADS
as described in Makefile (Makefile.direct), or possibly use
--enable-threads=posix when running the configure script.

If you wish to use the cord (structured string) library with the stand-alone
Makefile.direct, type "make cords", after copying to "Makefile".
(This requires an ANSI C compiler.  You may
need to redefine CC in the Makefile. The CORD_printf implementation in
cordprnt.c is known to be less than perfectly portable.  The rest of the
package should still work.)

If you wish to use the collector from C++, type "make c++", or use
--enable-cplusplus with the configure script.   With Makefile.direct,
hese add further files to gc.a and to the include subdirectory.  With the
alternat build process,this generates libgccpp.
See cord/cord.h and include/gc_cpp.h.

TYPICAL USE:
Include "gc.h" from the include subdirectory.  Link against the
appropriate library ("gc.a" under UN*X).  Replace calls to malloc
by calls to GC_MALLOC, and calls to realloc by calls to GC_REALLOC.
If the object is known to never contain pointers, use GC_MALLOC_ATOMIC
instead of GC_MALLOC.

Define GC_DEBUG before including gc.h for additional checking.

More documentation on the collector interface can be found at
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gcinterface.html,
in doc/README and other files in the doc directory, and in include/gc.h .

WARNINGS:

Do not store the only pointer to an object in memory allocated
with system malloc, since the collector usually does not scan
memory allocated in this way.

Use with threads may be supported on your system, but requires the
collector to be built with thread support.  See Makefile.  The collector
does not guarantee to scan thread-local storage (e.g. of the kind
accessed with pthread_getspecific()).  The collector does scan
thread stacks though, so generally the best solution is to ensure that
any pointers stored in thread-local storage are also stored on the
thread's stack for the duration of their lifetime.