• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..11-Aug-2015-

Mac_files/H11-Aug-2015-20225

cord/H03-May-2022-3,3842,589

doc/H03-May-2022-5,5534,872

include/H11-Aug-2015-10,0275,492

tests/H11-Aug-2015-2,0851,720

AmigaOS.cH A D11-Aug-201514.3 KiB624431

BCC_MAKEFILEH A D11-Aug-20152.2 KiB8867

ChangeLogH A D11-Aug-201513.3 KiB364274

EMX_MAKEFILEH A D11-Aug-20155.3 KiB141112

MacOS.cH A D11-Aug-20153.9 KiB157106

MacProjects.sit.hqxH A D11-Aug-201528.5 KiB887443

Makefile.DLLsH A D11-Aug-20153.8 KiB10864

Makefile.amH A D11-Aug-20156.3 KiB20784

Makefile.directH A D11-Aug-201535.4 KiB738305

Makefile.djH A D11-Aug-201520.7 KiB429200

Makefile.inH A D11-Aug-201551.8 KiB1,4061,164

NT_MAKEFILEH A D11-Aug-20152.7 KiB6141

NT_STATIC_THREADS_MAKEFILEH A D11-Aug-20153.4 KiB7554

NT_THREADS_MAKEFILEH A D11-Aug-201553.4 KiB2,2211,605

NT_X64_STATIC_THREADS_MAKEFILEH A D11-Aug-20153.4 KiB7554

OS2_MAKEFILEH A D11-Aug-20152 KiB4632

PCR-MakefileH A D11-Aug-20151.7 KiB6946

README.QUICKH A D11-Aug-20154 KiB8970

SMakefile.amigaH A D11-Aug-20154 KiB178110

WCC_MAKEFILEH A D11-Aug-20154.9 KiB197170

acinclude.m4H A D11-Aug-20151.8 KiB5044

aclocal.m4H A D11-Aug-201533.1 KiB930831

add_gc_prefix.cH A D11-Aug-2015423 2118

allchblk.cH A D11-Aug-201525.3 KiB851617

alloc.cH A D11-Aug-201530.3 KiB1,024718

alpha_mach_dep.SH A D11-Aug-20152 KiB8760

backgraph.cH A D11-Aug-201514.9 KiB470329

bdw-gc.pcH A D11-Aug-2015260 119

bdw-gc.pc.inH A D11-Aug-2015261 119

blacklst.cH A D11-Aug-20158.8 KiB286189

callprocsH A D11-Aug-2015148 53

checksums.cH A D11-Aug-20155.5 KiB197146

compileH A D11-Aug-20153.6 KiB14379

config.guessH A D11-Aug-201543.2 KiB1,5011,289

config.subH A D11-Aug-201531.7 KiB1,6091,465

configureH A D11-Aug-2015735.1 KiB23,50418,658

configure.acH A D11-Aug-201517.7 KiB659596

configure.hostH A D11-Aug-20151.5 KiB6252

configure_atomic_ops.shH A D11-Aug-201588 53

darwin_stop_world.cH A D11-Aug-201518 KiB600485

dbg_mlc.cH A D11-Aug-201530.6 KiB1,054855

depcompH A D11-Aug-201512.2 KiB437298

digimars.makH A D11-Aug-20151.9 KiB9177

dyn_load.cH A D11-Aug-201535.4 KiB1,196861

finalize.cH A D11-Aug-201527.1 KiB870670

gc.makH A D11-Aug-201553.4 KiB2,2211,605

gc_cpp.ccH A D11-Aug-20152 KiB6828

gc_cpp.cppH A D11-Aug-201575 31

gc_dlopen.cH A D11-Aug-20153.1 KiB9037

gcj_mlc.cH A D11-Aug-20157.3 KiB246168

gcname.cH A D11-Aug-2015275 1412

headers.cH A D11-Aug-201511 KiB395297

hpux_test_and_clear.sH A D11-Aug-2015487 2220

ia64_save_regs_in_stack.sH A D11-Aug-2015256 1311

if_mach.cH A D11-Aug-2015743 2620

if_not_there.cH A D11-Aug-2015856 3933

install-shH A D11-Aug-20155.4 KiB252153

libtool.m4H A D11-Aug-2015225.2 KiB6,3985,742

ltmain.shH A D11-Aug-2015191.8 KiB6,8645,416

mach_dep.cH A D11-Aug-20157.8 KiB243169

malloc.cH A D11-Aug-201514.5 KiB511383

mallocx.cH A D11-Aug-201517.5 KiB575410

mark.cH A D11-Aug-201558.8 KiB1,8671,349

mark_rts.cH A D11-Aug-201517.9 KiB618399

mips_sgi_mach_dep.sH A D11-Aug-20151.2 KiB4738

mips_ultrix_mach_dep.sH A D11-Aug-2015618 2725

misc.cH A D11-Aug-201532.1 KiB1,178906

missingH A D11-Aug-201510 KiB337263

mkinstalldirsH A D11-Aug-20151.8 KiB10272

msvc_dbg.cH A D11-Aug-201510.2 KiB349289

new_hblk.cH A D11-Aug-20155.7 KiB202116

obj_map.cH A D11-Aug-20152.8 KiB9156

os_dep.cH A D11-Aug-2015130.2 KiB4,3453,112

pcr_interface.cH A D11-Aug-20154.7 KiB180133

pthread_stop_world.cH A D11-Aug-201516 KiB538395

pthread_support.cH A D11-Aug-201544.1 KiB1,4961,083

ptr_chck.cH A D11-Aug-20158.3 KiB284205

real_malloc.cH A D11-Aug-2015937 328

reclaim.cH A D11-Aug-201517 KiB609418

rs6000_mach_dep.sH A D11-Aug-20152.4 KiB115113

setjmp_t.cH A D11-Aug-20154.1 KiB13699

sparc_mach_dep.SH A D11-Aug-20151.9 KiB7160

sparc_netbsd_mach_dep.sH A D11-Aug-2015907 3531

sparc_sunos4_mach_dep.sH A D11-Aug-2015847 3930

specific.cH A D11-Aug-20155.6 KiB16696

stubborn.cH A D11-Aug-20151.4 KiB5925

thread_local_alloc.cH A D11-Aug-201510 KiB311201

threadlibs.cH A D11-Aug-20151.8 KiB6456

typd_mlc.cH A D11-Aug-201523.9 KiB723553

version.hH A D11-Aug-20151 KiB3121

win32_threads.cH A D11-Aug-201546.4 KiB1,5711,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