Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 11-Aug-2015 | - | ||||
Mac_files/ | H | 11-Aug-2015 | - | 202 | 25 | |
cord/ | H | 03-May-2022 | - | 3,384 | 2,589 | |
doc/ | H | 03-May-2022 | - | 5,553 | 4,872 | |
include/ | H | 11-Aug-2015 | - | 10,027 | 5,492 | |
tests/ | H | 11-Aug-2015 | - | 2,085 | 1,720 | |
AmigaOS.c | H A D | 11-Aug-2015 | 14.3 KiB | 624 | 431 | |
BCC_MAKEFILE | H A D | 11-Aug-2015 | 2.2 KiB | 88 | 67 | |
ChangeLog | H A D | 11-Aug-2015 | 13.3 KiB | 364 | 274 | |
EMX_MAKEFILE | H A D | 11-Aug-2015 | 5.3 KiB | 141 | 112 | |
MacOS.c | H A D | 11-Aug-2015 | 3.9 KiB | 157 | 106 | |
MacProjects.sit.hqx | H A D | 11-Aug-2015 | 28.5 KiB | 887 | 443 | |
Makefile.DLLs | H A D | 11-Aug-2015 | 3.8 KiB | 108 | 64 | |
Makefile.am | H A D | 11-Aug-2015 | 6.3 KiB | 207 | 84 | |
Makefile.direct | H A D | 11-Aug-2015 | 35.4 KiB | 738 | 305 | |
Makefile.dj | H A D | 11-Aug-2015 | 20.7 KiB | 429 | 200 | |
Makefile.in | H A D | 11-Aug-2015 | 51.8 KiB | 1,406 | 1,164 | |
NT_MAKEFILE | H A D | 11-Aug-2015 | 2.7 KiB | 61 | 41 | |
NT_STATIC_THREADS_MAKEFILE | H A D | 11-Aug-2015 | 3.4 KiB | 75 | 54 | |
NT_THREADS_MAKEFILE | H A D | 11-Aug-2015 | 53.4 KiB | 2,221 | 1,605 | |
NT_X64_STATIC_THREADS_MAKEFILE | H A D | 11-Aug-2015 | 3.4 KiB | 75 | 54 | |
OS2_MAKEFILE | H A D | 11-Aug-2015 | 2 KiB | 46 | 32 | |
PCR-Makefile | H A D | 11-Aug-2015 | 1.7 KiB | 69 | 46 | |
README.QUICK | H A D | 11-Aug-2015 | 4 KiB | 89 | 70 | |
SMakefile.amiga | H A D | 11-Aug-2015 | 4 KiB | 178 | 110 | |
WCC_MAKEFILE | H A D | 11-Aug-2015 | 4.9 KiB | 197 | 170 | |
acinclude.m4 | H A D | 11-Aug-2015 | 1.8 KiB | 50 | 44 | |
aclocal.m4 | H A D | 11-Aug-2015 | 33.1 KiB | 930 | 831 | |
add_gc_prefix.c | H A D | 11-Aug-2015 | 423 | 21 | 18 | |
allchblk.c | H A D | 11-Aug-2015 | 25.3 KiB | 851 | 617 | |
alloc.c | H A D | 11-Aug-2015 | 30.3 KiB | 1,024 | 718 | |
alpha_mach_dep.S | H A D | 11-Aug-2015 | 2 KiB | 87 | 60 | |
backgraph.c | H A D | 11-Aug-2015 | 14.9 KiB | 470 | 329 | |
bdw-gc.pc | H A D | 11-Aug-2015 | 260 | 11 | 9 | |
bdw-gc.pc.in | H A D | 11-Aug-2015 | 261 | 11 | 9 | |
blacklst.c | H A D | 11-Aug-2015 | 8.8 KiB | 286 | 189 | |
callprocs | H A D | 11-Aug-2015 | 148 | 5 | 3 | |
checksums.c | H A D | 11-Aug-2015 | 5.5 KiB | 197 | 146 | |
compile | H A D | 11-Aug-2015 | 3.6 KiB | 143 | 79 | |
config.guess | H A D | 11-Aug-2015 | 43.2 KiB | 1,501 | 1,289 | |
config.sub | H A D | 11-Aug-2015 | 31.7 KiB | 1,609 | 1,465 | |
configure | H A D | 11-Aug-2015 | 735.1 KiB | 23,504 | 18,658 | |
configure.ac | H A D | 11-Aug-2015 | 17.7 KiB | 659 | 596 | |
configure.host | H A D | 11-Aug-2015 | 1.5 KiB | 62 | 52 | |
configure_atomic_ops.sh | H A D | 11-Aug-2015 | 88 | 5 | 3 | |
darwin_stop_world.c | H A D | 11-Aug-2015 | 18 KiB | 600 | 485 | |
dbg_mlc.c | H A D | 11-Aug-2015 | 30.6 KiB | 1,054 | 855 | |
depcomp | H A D | 11-Aug-2015 | 12.2 KiB | 437 | 298 | |
digimars.mak | H A D | 11-Aug-2015 | 1.9 KiB | 91 | 77 | |
dyn_load.c | H A D | 11-Aug-2015 | 35.4 KiB | 1,196 | 861 | |
finalize.c | H A D | 11-Aug-2015 | 27.1 KiB | 870 | 670 | |
gc.mak | H A D | 11-Aug-2015 | 53.4 KiB | 2,221 | 1,605 | |
gc_cpp.cc | H A D | 11-Aug-2015 | 2 KiB | 68 | 28 | |
gc_cpp.cpp | H A D | 11-Aug-2015 | 75 | 3 | 1 | |
gc_dlopen.c | H A D | 11-Aug-2015 | 3.1 KiB | 90 | 37 | |
gcj_mlc.c | H A D | 11-Aug-2015 | 7.3 KiB | 246 | 168 | |
gcname.c | H A D | 11-Aug-2015 | 275 | 14 | 12 | |
headers.c | H A D | 11-Aug-2015 | 11 KiB | 395 | 297 | |
hpux_test_and_clear.s | H A D | 11-Aug-2015 | 487 | 22 | 20 | |
ia64_save_regs_in_stack.s | H A D | 11-Aug-2015 | 256 | 13 | 11 | |
if_mach.c | H A D | 11-Aug-2015 | 743 | 26 | 20 | |
if_not_there.c | H A D | 11-Aug-2015 | 856 | 39 | 33 | |
install-sh | H A D | 11-Aug-2015 | 5.4 KiB | 252 | 153 | |
libtool.m4 | H A D | 11-Aug-2015 | 225.2 KiB | 6,398 | 5,742 | |
ltmain.sh | H A D | 11-Aug-2015 | 191.8 KiB | 6,864 | 5,416 | |
mach_dep.c | H A D | 11-Aug-2015 | 7.8 KiB | 243 | 169 | |
malloc.c | H A D | 11-Aug-2015 | 14.5 KiB | 511 | 383 | |
mallocx.c | H A D | 11-Aug-2015 | 17.5 KiB | 575 | 410 | |
mark.c | H A D | 11-Aug-2015 | 58.8 KiB | 1,867 | 1,349 | |
mark_rts.c | H A D | 11-Aug-2015 | 17.9 KiB | 618 | 399 | |
mips_sgi_mach_dep.s | H A D | 11-Aug-2015 | 1.2 KiB | 47 | 38 | |
mips_ultrix_mach_dep.s | H A D | 11-Aug-2015 | 618 | 27 | 25 | |
misc.c | H A D | 11-Aug-2015 | 32.1 KiB | 1,178 | 906 | |
missing | H A D | 11-Aug-2015 | 10 KiB | 337 | 263 | |
mkinstalldirs | H A D | 11-Aug-2015 | 1.8 KiB | 102 | 72 | |
msvc_dbg.c | H A D | 11-Aug-2015 | 10.2 KiB | 349 | 289 | |
new_hblk.c | H A D | 11-Aug-2015 | 5.7 KiB | 202 | 116 | |
obj_map.c | H A D | 11-Aug-2015 | 2.8 KiB | 91 | 56 | |
os_dep.c | H A D | 11-Aug-2015 | 130.2 KiB | 4,345 | 3,112 | |
pcr_interface.c | H A D | 11-Aug-2015 | 4.7 KiB | 180 | 133 | |
pthread_stop_world.c | H A D | 11-Aug-2015 | 16 KiB | 538 | 395 | |
pthread_support.c | H A D | 11-Aug-2015 | 44.1 KiB | 1,496 | 1,083 | |
ptr_chck.c | H A D | 11-Aug-2015 | 8.3 KiB | 284 | 205 | |
real_malloc.c | H A D | 11-Aug-2015 | 937 | 32 | 8 | |
reclaim.c | H A D | 11-Aug-2015 | 17 KiB | 609 | 418 | |
rs6000_mach_dep.s | H A D | 11-Aug-2015 | 2.4 KiB | 115 | 113 | |
setjmp_t.c | H A D | 11-Aug-2015 | 4.1 KiB | 136 | 99 | |
sparc_mach_dep.S | H A D | 11-Aug-2015 | 1.9 KiB | 71 | 60 | |
sparc_netbsd_mach_dep.s | H A D | 11-Aug-2015 | 907 | 35 | 31 | |
sparc_sunos4_mach_dep.s | H A D | 11-Aug-2015 | 847 | 39 | 30 | |
specific.c | H A D | 11-Aug-2015 | 5.6 KiB | 166 | 96 | |
stubborn.c | H A D | 11-Aug-2015 | 1.4 KiB | 59 | 25 | |
thread_local_alloc.c | H A D | 11-Aug-2015 | 10 KiB | 311 | 201 | |
threadlibs.c | H A D | 11-Aug-2015 | 1.8 KiB | 64 | 56 | |
typd_mlc.c | H A D | 11-Aug-2015 | 23.9 KiB | 723 | 553 | |
version.h | H A D | 11-Aug-2015 | 1 KiB | 31 | 21 | |
win32_threads.c | H A D | 11-Aug-2015 | 46.4 KiB | 1,571 | 1,096 |
README.QUICK
1Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers 2Copyright (c) 1991-1995 by Xerox Corporation. All rights reserved. 3Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved. 4Copyright (c) 1999-2001 by Hewlett-Packard. All rights reserved. 5 6THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED 7OR IMPLIED. ANY USE IS AT YOUR OWN RISK. 8 9Permission is hereby granted to use or copy this program 10for any purpose, provided the above notices are retained on all copies. 11Permission to modify the code and to distribute modified code is granted, 12provided the above notices are retained, and a notice that the code was 13modified is included with the above copyright notice. 14 15A few files have other copyright holders. A few of the files needed 16to use the GNU-style build procedure come with a modified GPL license 17that appears not to significantly restrict use of the collector, though 18use of those files for a purpose other than building the collector may 19require the resulting code to be covered by the GPL. 20 21For more details and the names of other contributors, see the 22doc/README* files and include/gc.h. This file describes typical use of 23the collector on a machine that is already supported. 24 25For the version number, see doc/README or version.h. 26 27INSTALLATION: 28Under UN*X, Linux: 29Alternative 1 (the old way): type "make test" in this directory. 30 Link against gc.a. With the most recent GC distributions 31 you may have to copy Makefile.direct to Makefile first. 32 33Alternative 2 (the new way): type 34 "./configure --prefix=<dir>; make; make check; make install". 35 Link against <dir>/lib/libgc.a or <dir>/lib/libgc.so. 36 See README.autoconf for details 37 38Under Windows 95, 98, Me, NT, or 2000: 39copy the appropriate makefile to MAKEFILE, read it, and type "nmake test". 40(Under Windows, this assumes you have Microsoft command-line tools 41installed, and suitably configured.) 42Read the machine specific README in the doc directory if one exists. 43 44If you need thread support, you will need to follow the special 45platform-dependent instructions (win32), or define GC_THREADS 46as described in Makefile (Makefile.direct), or possibly use 47--enable-threads=posix when running the configure script. 48 49If you wish to use the cord (structured string) library with the stand-alone 50Makefile.direct, type "make cords", after copying to "Makefile". 51(This requires an ANSI C compiler. You may 52need to redefine CC in the Makefile. The CORD_printf implementation in 53cordprnt.c is known to be less than perfectly portable. The rest of the 54package should still work.) 55 56If you wish to use the collector from C++, type "make c++", or use 57--enable-cplusplus with the configure script. With Makefile.direct, 58hese add further files to gc.a and to the include subdirectory. With the 59alternat build process,this generates libgccpp. 60See cord/cord.h and include/gc_cpp.h. 61 62TYPICAL USE: 63Include "gc.h" from the include subdirectory. Link against the 64appropriate library ("gc.a" under UN*X). Replace calls to malloc 65by calls to GC_MALLOC, and calls to realloc by calls to GC_REALLOC. 66If the object is known to never contain pointers, use GC_MALLOC_ATOMIC 67instead of GC_MALLOC. 68 69Define GC_DEBUG before including gc.h for additional checking. 70 71More documentation on the collector interface can be found at 72http://www.hpl.hp.com/personal/Hans_Boehm/gc/gcinterface.html, 73in doc/README and other files in the doc directory, and in include/gc.h . 74 75WARNINGS: 76 77Do not store the only pointer to an object in memory allocated 78with system malloc, since the collector usually does not scan 79memory allocated in this way. 80 81Use with threads may be supported on your system, but requires the 82collector to be built with thread support. See Makefile. The collector 83does not guarantee to scan thread-local storage (e.g. of the kind 84accessed with pthread_getspecific()). The collector does scan 85thread stacks though, so generally the best solution is to ensure that 86any pointers stored in thread-local storage are also stored on the 87thread's stack for the duration of their lifetime. 88 89