]> granicus.if.org Git - gc/log
gc
11 years agoA long overdue scan to eliminate files without terminating newlines.
Eli Barzilay [Tue, 28 Jun 2011 06:01:41 +0000 (02:01 -0400)]
A long overdue scan to eliminate files without terminating newlines.

(DrRacket should really do that.)

11 years agoclean up C part of build - no more attempt to support places with the Boehm GC -...
Matthew Flatt [Tue, 26 Apr 2011 22:31:02 +0000 (16:31 -0600)]
clean up C part of build - no more attempt to support places with the Boehm GC - no more libatomic (which was for places + Boehm GC) - remove unsupported configuration options - strip Racket-specific configure options before libffi configure - port two leftover Perl scripts to Racket scripts

11 years agoBoehm GC: remove some obsolete customization
Matthew Flatt [Mon, 25 Apr 2011 21:49:22 +0000 (15:49 -0600)]
Boehm GC: remove some obsolete customization

11 years agoFixed various spelling errors.
David Van Horn [Wed, 2 Feb 2011 19:56:42 +0000 (14:56 -0500)]
Fixed various spelling errors.

11 years agofix plot build to use CC from Makefiles; fix fallout in Mac build to clean up the...
Matthew Flatt [Wed, 10 Nov 2010 14:19:28 +0000 (07:19 -0700)]
fix plot build to use CC from Makefiles; fix fallout in Mac build to clean up the hack of putting -m32 in CC instead of CFLAGS

11 years agooverhaul GC finalization
Matthew Flatt [Mon, 25 Oct 2010 12:17:24 +0000 (06:17 -0600)]
overhaul GC finalization

11 years agofix some middle-of-C-block variable declrations
Matthew Flatt [Sat, 22 May 2010 13:05:16 +0000 (07:05 -0600)]
fix some middle-of-C-block variable declrations

11 years agoFixing some tab damage from Jay's commit
Eli Barzilay [Sat, 22 May 2010 01:10:53 +0000 (21:10 -0400)]
Fixing some tab damage from Jay's commit

11 years agoUsing nicear to get rid of spurious ar stderr output
Jay McCarthy [Wed, 19 May 2010 20:14:31 +0000 (15:14 -0500)]
Using nicear to get rid of spurious ar stderr output

11 years agoConfuse GCC data-flow analysis to remove warning: function returns address of local...
Jay McCarthy [Tue, 18 May 2010 14:09:44 +0000 (09:09 -0500)]
Confuse GCC data-flow analysis to remove warning: function returns address of local variable

11 years agoAdd extern prototype for GC_collection_in_progress
Jay McCarthy [Tue, 18 May 2010 14:08:35 +0000 (09:08 -0500)]
Add extern prototype for GC_collection_in_progress

11 years agoGC_thr_init prototype in header
Jay McCarthy [Tue, 18 May 2010 14:06:27 +0000 (09:06 -0500)]
GC_thr_init prototype in header

11 years agoAttempt to remove 'warning: dereferencing type-punned pointer will break strict-alias...
Jay McCarthy [Tue, 18 May 2010 14:01:04 +0000 (09:01 -0500)]
Attempt to remove 'warning: dereferencing type-punned pointer will break strict-aliasing rules'

11 years agoAdding clock zero and using to avoid uninit errors
Jay McCarthy [Tue, 18 May 2010 13:48:07 +0000 (08:48 -0500)]
Adding clock zero and using to avoid uninit errors

11 years agoAdding null initializations
Jay McCarthy [Tue, 18 May 2010 13:45:37 +0000 (08:45 -0500)]
Adding null initializations

11 years agoAdded macro to encode warning suppression
Jay McCarthy [Tue, 18 May 2010 13:44:56 +0000 (08:44 -0500)]
Added macro to encode warning suppression

11 years agoAdded define to get pthread_getattr_np prototype with copy for systems where that...
Jay McCarthy [Tue, 18 May 2010 13:39:58 +0000 (08:39 -0500)]
Added define to get pthread_getattr_np prototype with copy for systems where that doesn't work

11 years agoAvoiding statement with no effect warning
Jay McCarthy [Tue, 18 May 2010 13:38:09 +0000 (08:38 -0500)]
Avoiding statement with no effect warning

11 years agoA lot of "MrEd" -> "GRacket"s.
Eli Barzilay [Mon, 17 May 2010 03:46:05 +0000 (23:46 -0400)]
A lot of "MrEd" -> "GRacket"s.

11 years agoapply patch from Tim Wiess to make the Boehm GC build on OpenBSD
Matthew Flatt [Thu, 1 Apr 2010 13:54:56 +0000 (13:54 +0000)]
apply patch from Tim Wiess to make the Boehm GC build on OpenBSD

svn: r18712

11 years agotry to fix build for OS X variant
Matthew Flatt [Tue, 2 Mar 2010 21:44:52 +0000 (21:44 +0000)]
try to fix build for OS X variant

svn: r18436

11 years agofix for Sparc Linux from James Vega (PR 10750)
Matthew Flatt [Tue, 9 Feb 2010 16:16:47 +0000 (16:16 +0000)]
fix for Sparc Linux from James Vega (PR 10750)

svn: r18031

11 years agoA bunch of additional typos
Eli Barzilay [Fri, 5 Feb 2010 03:21:52 +0000 (03:21 +0000)]
A bunch of additional typos

svn: r17976

11 years agoadjust futures impl to use mzrt; fix MrEd build to work with futures
Matthew Flatt [Fri, 29 Jan 2010 00:15:43 +0000 (00:15 +0000)]
adjust futures impl to use mzrt; fix MrEd build to work with futures

svn: r17879

11 years agofix shared-library version for CGC lib
Matthew Flatt [Fri, 8 Jan 2010 13:45:57 +0000 (13:45 +0000)]
fix shared-library version for CGC lib

svn: r17564

11 years agoavoid sbrk(), which does not work with mprotect()
Matthew Flatt [Tue, 17 Nov 2009 17:29:18 +0000 (17:29 +0000)]
avoid sbrk(), which does not work with mprotect()

svn: r16832

11 years agoMerge tag 'gc7_1' into racket_gc
Ivan Maidanski [Sun, 3 Nov 2013 09:44:29 +0000 (13:44 +0400)]
Merge tag 'gc7_1' into racket_gc

[release 7.1]

11 years agoupgrade Boehm GC to v7.1
Matthew Flatt [Wed, 7 Oct 2009 17:56:48 +0000 (17:56 +0000)]
upgrade Boehm GC to v7.1

svn: r16274

11 years agodynamic-require and 0 mode; repair to unsafe-fl ops; x86_64 for Mac OS X
Matthew Flatt [Fri, 11 Sep 2009 23:05:50 +0000 (23:05 +0000)]
dynamic-require and 0 mode; repair to unsafe-fl ops; x86_64 for Mac OS X

svn: r15985

11 years agoremoved lots of "the the"s
Eli Barzilay [Fri, 1 May 2009 21:02:51 +0000 (21:02 +0000)]
removed lots of "the the"s

svn: r14679

11 years agoadd missing ARLIBFLAGS to go with previous change
Matthew Flatt [Mon, 19 Jan 2009 16:32:50 +0000 (16:32 +0000)]
add missing ARLIBFLAGS to go with previous change

svn: r13225

11 years agoMake GC callbacks members of NewGC
Kevin Tew [Thu, 20 Nov 2008 23:36:54 +0000 (23:36 +0000)]
Make GC callbacks members of NewGC

svn: r12549

11 years agomerge Kevin's work so far on places
Matthew Flatt [Wed, 13 Aug 2008 23:08:34 +0000 (23:08 +0000)]
merge Kevin's work so far on places

svn: r11226

11 years agov3.99.0.2
Matthew Flatt [Tue, 13 Nov 2007 12:40:00 +0000 (12:40 +0000)]
v3.99.0.2

svn: r7706

11 years agoopenbsd x86_64 patches
Matthew Flatt [Sat, 14 Oct 2006 00:58:14 +0000 (00:58 +0000)]
openbsd x86_64 patches

svn: r4597

11 years ago352.7
Matthew Flatt [Fri, 13 Oct 2006 22:03:29 +0000 (22:03 +0000)]
352.7

svn: r4592

11 years agoadd proper declaration for new GC_mark_overflow_recover()
Matthew Flatt [Thu, 3 Aug 2006 15:58:35 +0000 (15:58 +0000)]
add proper declaration for new GC_mark_overflow_recover()

svn: r3940

11 years agocorrect handing of mark-stack overflow in ephemeron processing
Matthew Flatt [Wed, 2 Aug 2006 18:37:21 +0000 (18:37 +0000)]
correct handing of mark-stack overflow in ephemeron processing

svn: r3934

11 years agoremove accidental ~ files
Matthew Flatt [Thu, 6 Jul 2006 21:10:10 +0000 (21:10 +0000)]
remove accidental ~ files

svn: r3635

11 years agoMerge tag 'gc6_7' into racket_gc
Ivan Maidanski [Sun, 3 Nov 2013 08:55:14 +0000 (12:55 +0400)]
Merge tag 'gc6_7' into racket_gc

[release 6.7]

11 years agoupgrade to Boehm GC version 6.7
Matthew Flatt [Thu, 6 Jul 2006 21:08:23 +0000 (21:08 +0000)]
upgrade to Boehm GC version 6.7

svn: r3634

11 years agouse mprotect on more platforms to make JITted code executable
Matthew Flatt [Wed, 26 Apr 2006 22:07:24 +0000 (22:07 +0000)]
use mprotect on more platforms to make JITted code executable

svn: r2807

11 years agoCGC x86 Darwin
Matthew Flatt [Sat, 18 Feb 2006 04:00:38 +0000 (04:00 +0000)]
CGC x86 Darwin

svn: r2274

11 years ago299.403
Matthew Flatt [Tue, 4 Oct 2005 21:02:37 +0000 (21:02 +0000)]
299.403

svn: r979

11 years agoTwo fixes to GC build problems.
Eli Barzilay [Thu, 11 Aug 2005 14:23:10 +0000 (14:23 +0000)]
Two fixes to GC build problems.

svn: r583

11 years agoAdded src, set properties for all DOS files.
Eli Barzilay [Fri, 27 May 2005 21:53:51 +0000 (21:53 +0000)]
Added src, set properties for all DOS files.

svn: r4

13 years ago2008-05-03 Hans Boehm <Hans.Boehm@hp.com> gc7_1
hboehm [Sun, 4 May 2008 01:07:59 +0000 (01:07 +0000)]
2008-05-03  Hans Boehm <Hans.Boehm@hp.com>

* include/gc_version.h, configure.ac, doc/README:
Change to version 7.1.
* configure: Regenerate.

13 years ago2008-05-03 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sun, 4 May 2008 00:48:31 +0000 (00:48 +0000)]
2008-05-03  Hans Boehm <Hans.Boehm@hp.com>

* doc/gcinterface.html: Improve C++ interface documentation.

13 years ago2008-03-10 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Mon, 10 Mar 2008 16:16:40 +0000 (16:16 +0000)]
2008-03-10  Hans Boehm <Hans.Boehm@hp.com>

* allchblk.c (GC_allochblk): Check for overflow during size
rounding.
* tests/huge_test.c: New.
* Makefile.direct, tests/tests.am: Add huge_test.c
* Makefile.in: Regenerate.

13 years ago2008-02-29 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Fri, 29 Feb 2008 20:06:36 +0000 (20:06 +0000)]
2008-02-29  Hans Boehm <Hans.Boehm@hp.com>

* pthread_support.c: Fix typo in comment.
* os_dep.c (GC_win32_get_mem): Add heap section only if
allocation succeeded.

13 years ago2008-02-28 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Thu, 28 Feb 2008 18:05:52 +0000 (18:05 +0000)]
2008-02-28  Hans Boehm <Hans.Boehm@hp.com>

* malloc.c: (free replacement) Fix caller address space check.

13 years ago2008-02-25 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Tue, 26 Feb 2008 06:09:07 +0000 (06:09 +0000)]
2008-02-25  Hans Boehm <Hans.Boehm@hp.com>

* finalize.c (GC_grow_table): Dereference table in null-check.

13 years ago2008-02-24 Hans Boehm <Hans.Boehm@hp.com> gc7_1alpha3-20080224
hboehm [Sun, 24 Feb 2008 20:25:02 +0000 (20:25 +0000)]
2008-02-24  Hans Boehm <Hans.Boehm@hp.com>

* win32_threads.c (GC_delete_gc_thread, GC_delete_thread):
Consistently call CloseHandle. (GC_suspend): Call
GC_delete_gc_thread.
* tests/test.c: Don't reference GC_print_stats if not exported.

13 years ago2008-02-20 Hans Boehm <Hans.Boehm@hp.com> gc7_1alpha3-20080220
hboehm [Wed, 20 Feb 2008 22:27:57 +0000 (22:27 +0000)]
2008-02-20  Hans Boehm <Hans.Boehm@hp.com>

* tests/test.c (run_one_test): Don't mention pthread_self().
* misc.c: Declare GC_thr_init().

13 years ago2008-02-20 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 20 Feb 2008 22:02:46 +0000 (22:02 +0000)]
2008-02-20  Hans Boehm <Hans.Boehm@hp.com>

* allchblk.c (add_to_fl): disable assertions with USE_MUNMAP,
and refine assertions to handle huge unmergable blocks.
(GC_allochblk_nth): Add comment.

13 years ago2008-02-20 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 20 Feb 2008 20:17:20 +0000 (20:17 +0000)]
2008-02-20  Hans Boehm <Hans.Boehm@hp.com>

* include/private/gcconfig.h: Add misssing FREEBSD macro
consistency test.

13 years ago2008-02-20 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 20 Feb 2008 18:48:42 +0000 (18:48 +0000)]
2008-02-20  Hans Boehm <Hans.Boehm@hp.com>

* allchblk.c (GC_enough_large_bytes_left): No longer take
parameters; return free list index bound.
(GC_merge_unmapped): Don't access nexthdr until after null test.
(Fixes bug in 1/29/08 check-in.)  (GC_allochblk): Calculate
when splitting is allowable only once here, not when considering each
block. (GC_allchblk_nth): Accept new may_split parameter.
Avoid some redundant tests for exact size matches.
* alloc.c (GC_should_collect): Cache min_bytes_allocd.
(GC_maybe_gc): Make locking assertion testable.
* mark_rts.c: Fix indentation.
* pthread_stop_world.c: Replace old GC_err_printf1 reference.
* tests/test.c: Remove (void) casts.  Optionally print some
timing information.

13 years ago2008-02-15 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sat, 16 Feb 2008 06:07:00 +0000 (06:07 +0000)]
2008-02-15  Hans Boehm <Hans.Boehm@hp.com>

* windows-untested/gc.def: Remove CreateThread line.
* windows-untested/README: New file.
* win32_threads.c (GC_use_DllMain): Force collector initialization.
(GC_init_parallel): Reformat comment.
* include/gc.h (GC_use_DllMain): Clarify usage rules in comment.
* mark.c (GC_mark_from): Slightly simplify GC_DS_PER_OBJECT code.
* include/gc_cpp.h: Add matching placement delete overloads
everywhere.
* include/private/gc_locks.h (NO_THREAD): Add cast.
* include/private/gcconfig.h: Add test for __HP_aCC.
* configure.ac, tests/tests.am:  Avoid libgccpp on HP/UX.
* Makefile.in, configure: Regenerate.

13 years ago2008-02-11 Hans Boehm <Hans.Boehm@hp.com> (partly David Leonard)
hboehm [Tue, 12 Feb 2008 00:16:56 +0000 (00:16 +0000)]
2008-02-11  Hans Boehm <Hans.Boehm@hp.com> (partly David Leonard)

* doc/README.win32: Fix typo.
* configure.ac: Fix printing of enable-shared result.
* configure: Regenerate.

13 years ago2008-02-08 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sun, 10 Feb 2008 00:49:33 +0000 (00:49 +0000)]
2008-02-08  Hans Boehm <Hans.Boehm@hp.com>

* misc.c (GC_init_inner): Assert !GC_need_to_lock only when
defined.  (GC_call_with_stack_base): Add GC_API.
* os_dep.c (GC_get_stack_base): Add GC_API.
* win32_threads.c: (GC_register_my_thread, GC_unregister_my_thread):
Add GC_API.
* include/gc.h: Add GC_API annotations.
* include/private/gc_locks.h: Define UNCOND_LOCK etc. also for
PCR.
* include/private/gc_pmark.h: Fix comments.

13 years ago2008-02-06 Hans Boehm <Hans.Boehm@hp.com> (mostly from Henning Makholm)
hboehm [Thu, 7 Feb 2008 00:58:28 +0000 (00:58 +0000)]
2008-02-06  Hans Boehm <Hans.Boehm@hp.com> (mostly from Henning Makholm)

* include/private/gc_priv.h, mark_rts.c, typd_mlc.c:
Add GC_push_typed_structures() to push GC_ext_descriptors.

13 years ago2008-01-31 Hans Boehm <Hans.Boehm@hp.com> (mostly from Andreas Tobler)
hboehm [Thu, 31 Jan 2008 22:17:18 +0000 (22:17 +0000)]
2008-01-31  Hans Boehm <Hans.Boehm@hp.com> (mostly from Andreas Tobler)

* tests/test.c: Call GC_INIT for DARWIN; test system type using
gcconfig.h-defined macros.

13 years ago2008-01-29 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 30 Jan 2008 01:37:16 +0000 (01:37 +0000)]
2008-01-29  Hans Boehm <Hans.Boehm@hp.com>

* allchblk.c (GC_merge_unmapped, GC_freehblk): Refuse to create
blocks large enough that their size, when interpreted as a signed
value, would be negative.
* include/private/gc_priv.h: Comment hb_sz range limit.

13 years ago2008-01-29 Hans Boehm <Hans.Boehm@hp.com> (with help from Manuel Serrano)
hboehm [Tue, 29 Jan 2008 19:24:58 +0000 (19:24 +0000)]
2008-01-29  Hans Boehm <Hans.Boehm@hp.com>  (with help from Manuel Serrano)

* mark.c (GC_push_next_marked): correct comment.
* Makefile.direct: document NO_PROC_STAT.
* include/private/gcconfig.h: Accomodate NO_PROC_STAT.

13 years ago2008-01-10 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Fri, 11 Jan 2008 01:58:20 +0000 (01:58 +0000)]
2008-01-10  Hans Boehm <Hans.Boehm@hp.com>

* include/gc_version.h, configure.ac, doc/README:
Change to version 7.1alpha3.
* configure: Regenerate.

13 years ago2008-01-10 Hans Boehm <Hans.Boehm@hp.com> gc7_1alpha2
hboehm [Fri, 11 Jan 2008 01:45:51 +0000 (01:45 +0000)]
2008-01-10  Hans Boehm <Hans.Boehm@hp.com>

* include/gc_version.h, configure.ac, doc/README:
Change to version 7.1alpha2.
* configure: Regenerate.

13 years ago2008-01-10 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Fri, 11 Jan 2008 00:04:28 +0000 (00:04 +0000)]
2008-01-10  Hans Boehm <Hans.Boehm@hp.com>

* Makefile.am: Mention atomic_ops.c and atomic_ops_sysdeps.S
again.  Refer to build directory as ".".
* Makefile.in: Regenerate.

13 years ago2008-01-10 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Thu, 10 Jan 2008 21:47:52 +0000 (21:47 +0000)]
2008-01-10  Hans Boehm <Hans.Boehm@hp.com>

* configure.ac: Ignore --enable-parallel-mark on Darwin for now.
* configure: Regenerate.
* darwin_stop_world.c: Add FIXME comment for parallel marker.

13 years ago2008-01-09 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 9 Jan 2008 19:13:51 +0000 (19:13 +0000)]
2008-01-09  Hans Boehm <Hans.Boehm@hp.com>

* include/private/gc_priv.h: Update MAX_ROOT_SETS
and LOG_PHT_ENTRIES to handle larger heaps.

13 years ago2008-01-07 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Tue, 8 Jan 2008 06:07:39 +0000 (06:07 +0000)]
2008-01-07  Hans Boehm <Hans.Boehm@hp.com>

* include/private/gc_priv.h: Update MAX_ROOT_SETS
and LOG_PHT_ENTRIES to handle larger heaps.

13 years ago2007-01-03 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Thu, 3 Jan 2008 23:05:59 +0000 (23:05 +0000)]
2007-01-03  Hans Boehm <Hans.Boehm@hp.com>

* include/gc.h (GC_INIT,GC_init): Update comments.

13 years ago2007-01-03 Hans Boehm <Hans.Boehm@hp.com> (based on a patch from
hboehm [Thu, 3 Jan 2008 21:56:19 +0000 (21:56 +0000)]
2007-01-03  Hans Boehm <Hans.Boehm@hp.com> (based on a patch from
John Bowman, and an ancient patch from Fergus Henderson)

* allchblk.c, alloc.c, include/private/gc_priv.h:
Track GC_bytes_dropped and use in GC triggering decisions.
* alloc.c (min_bytes_allocd): Weight atomic blocks less.

13 years ago2007-01-02 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Thu, 3 Jan 2008 01:21:05 +0000 (01:21 +0000)]
2007-01-02  Hans Boehm <Hans.Boehm@hp.com>

* alloc.c (GC_add_to_heap): Call GC_install_header(p) AFTER
adjusting p.

13 years ago2007-12-23 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sun, 23 Dec 2007 22:08:07 +0000 (22:08 +0000)]
2007-12-23  Hans Boehm <Hans.Boehm@hp.com>

* Makefile.am: Add NT_X64_THREADS_MAKEFILE.

13 years ago2007-12-23 Hans Boehm <Hans.Boehm@hp.com> (Really mostly Friedrich Dominicus)
hboehm [Sun, 23 Dec 2007 22:00:43 +0000 (22:00 +0000)]
2007-12-23  Hans Boehm <Hans.Boehm@hp.com> (Really mostly Friedrich Dominicus)

* NT_X64_STATIC_THREADS_MAKEFILE: Clean up obsolete comment.
* alloc.c: Add declaration for GC_add_current_malloc_heap.
* win32_threads.c (GC_beginthreadex): Clean up error
return code.
* doc/README.win64, NT_X64_THREADS_MAKEFILE, Makefile.direct:
Add NT_X64_THREADS_MAKEFILE.

13 years ago2007-12-21 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sat, 22 Dec 2007 01:32:35 +0000 (01:32 +0000)]
2007-12-21  Hans Boehm <Hans.Boehm@hp.com>

* include/include.am: Adjust for version.h rename.
* Makefile.in: Regenerate.

13 years ago2007-12-21 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sat, 22 Dec 2007 01:05:43 +0000 (01:05 +0000)]
2007-12-21  Hans Boehm <Hans.Boehm@hp.com>

* alloc.c: Define GC_version instead of in version.h.
* version.h: Remove.
* include/gc_version.h: Move most of version.h here.
* include/gc.h: Include gc_version.h.
* gcname.c, add_gc_prefix.c: include gc.h instead of version.h.
* Makefile.direct, Makefile.dj, Makefile.am: Adjust for
version.h rename.

2007-12-21  Hans Boehm <Hans.Boehm@hp.com> (Really mostly russ sludge dot net)

* configure.ac: Put libatomic_ops links in build directory.
* configure: Regenerate.
* Makefile.am: Dont mention atomic_ops.c and atomic_ops_sysdeps.S
as nodist sources.

13 years ago2007-12-20 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Fri, 21 Dec 2007 02:07:20 +0000 (02:07 +0000)]
2007-12-20  Hans Boehm <Hans.Boehm@hp.com>

* include/gc.h, doc/README.macros: Add GC_NO_THREAD_REDIRECTS,
GC_NO_THREAD_DECLS, don't test explicitly for GC_SOLARIS_THREADS.

13 years ago2007-12-20 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Fri, 21 Dec 2007 01:40:38 +0000 (01:40 +0000)]
2007-12-20  Hans Boehm <Hans.Boehm@hp.com>

* alloc.c: Deal correctly with address wrapping for
GC_greatest_plausible_heap_addr and GC_least_plausible_heap_addr.
* finalize.c, include/gc.h (GC_register_disappearing_link,
GC_register_finalizer_inner): Improve out-of-memory handling.
* include/private/gc_pmark.h: Fix comment spelling.

13 years ago2007-12-18 Hans Boehm <Hans.Boehm@hp.com> (really mainly Peter Wang)
hboehm [Wed, 19 Dec 2007 01:51:39 +0000 (01:51 +0000)]
2007-12-18  Hans Boehm <Hans.Boehm@hp.com> (really mainly Peter Wang)

* include/gc_inline.h, include/gc_tiny_fl.h: cleanups to make usable in other
contexts.

2007-12-18  Hans Boehm <Hans.Boehm@hp.com> (really Radek Polak)

* include/gc.h: Don't define GC_HAVE_BUILTIN_BACKTRACE for uclibc.

13 years ago2007-12-18 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Tue, 18 Dec 2007 23:58:11 +0000 (23:58 +0000)]
2007-12-18  Hans Boehm <Hans.Boehm@hp.com>

* gc_cpp.cc: Don't include gc_cpp.h from local directory.

2007-12-18  Hans Boehm <Hans.Boehm@hp.com> (really Adam Megacz)

* allchblk.c, configure.ac (add --enable-munmap)
* configure: Regenerate.

13 years ago2007-12-10 Andreas Tobler <a.tobler@schweiz.org>
a_tobler [Mon, 10 Dec 2007 18:49:55 +0000 (18:49 +0000)]
2007-12-10  Andreas Tobler  <a.tobler@schweiz.org>

* dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
GC_GETSECTBYNAME instead.
* include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
architecture (Darwin).

13 years ago2007-10-24 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Thu, 25 Oct 2007 00:41:06 +0000 (00:41 +0000)]
2007-10-24  Hans Boehm <Hans.Boehm@hp.com>

* reclaim.c (GC_bytes_found): Expand comment.
* thread_local_alloc.c (GC_malloc_atomic, GC_gcj_malloc): Pass
granules, not bytes, to GC_FAST_MALLOC_GRANS.
* include/gc.h: Never include gc_local_alloc.h.
* tests/test.c: Add size zero allocation tests.

13 years ago2007-10-23 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 24 Oct 2007 00:38:41 +0000 (00:38 +0000)]
2007-10-23  Hans Boehm <Hans.Boehm@hp.com>

* malloc.c: Update GC_large_allocd_bytes on explicit deallocation.
* allchblk.c: Sanity check GC_max_large_allocd_bytes.

13 years ago2007-10-23 Hans Boehm <Hans.Boehm@hp.com> (Really Manuel Serrano)
hboehm [Wed, 24 Oct 2007 00:35:54 +0000 (00:35 +0000)]
2007-10-23  Hans Boehm <Hans.Boehm@hp.com> (Really Manuel Serrano)

* Makefile.direct: Invoke $(MAKE) instead of make.

13 years ago2007-10-23 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Wed, 24 Oct 2007 00:31:46 +0000 (00:31 +0000)]
2007-10-23  Hans Boehm <Hans.Boehm@hp.com>

* doc/scale.html: Reflect gc7 thread local allocation behavior.

13 years ago2007-10-23 Hans Boehm <Hans.Boehm@hp.com> (really Petter Urkedal)
hboehm [Wed, 24 Oct 2007 00:28:33 +0000 (00:28 +0000)]
2007-10-23  Hans Boehm <Hans.Boehm@hp.com> (really Petter Urkedal)

* include/extra/gc.h, include/extra/gc_cpp.h: New.
* include/include.am: Install gc.h and gc_cpp.h in $(prefix)/include
again.
* Makefile.in: Regenerate.

13 years ago2007-08-15 Hans Boehm <Hans.Boehm@hp.com> (really Samuel Thibault)
hboehm [Wed, 15 Aug 2007 21:50:29 +0000 (21:50 +0000)]
2007-08-15  Hans Boehm <Hans.Boehm@hp.com> (really Samuel Thibault)

* pthread_support.c (GC_thr_init): Use sysconf(_SC_NPROCESSORS_ONLN)
for HURD.

13 years ago2007-08-14 Hans Boehm <Hans.Boehm@hp.com> (really David Daney)
hboehm [Tue, 14 Aug 2007 20:57:26 +0000 (20:57 +0000)]
2007-08-14  Hans Boehm <Hans.Boehm@hp.com> (really David Daney)

* include/private/gcconfig.h: Add Linux/mips-64 support.

13 years ago2007-08-14 Hans Boehm <Hans.Boehm@hp.com> (really mostly Samuel Thibault)
hboehm [Tue, 14 Aug 2007 20:33:52 +0000 (20:33 +0000)]
2007-08-14  Hans Boehm <Hans.Boehm@hp.com> (really mostly Samuel Thibault)

* dbg_mlc.c: Use random() on all glibc systems.
* mach_dep.c (GC_with_callee_saves_pushed): Don't use getcontext() on
HURD.  Add comment.
* pthread_stop_world.c (GC_suspend_handler, GC_stop_init): Accomodate
systems without SA_SIGINFO.

13 years ago2007-08-14 Hans Boehm <Hans.Boehm@hp.com> (partly really Henrik Theiling)
hboehm [Tue, 14 Aug 2007 19:48:22 +0000 (19:48 +0000)]
2007-08-14  Hans Boehm <Hans.Boehm@hp.com> (partly really Henrik Theiling)

* include/gc.h (GC_PTR_STORE): Fix non-DEBUG parentheses.
* tests/test.c (run_one_test): Add GC_PTR_STORE test.
No longer test for RS6000.

13 years ago2007-08-03 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sat, 4 Aug 2007 06:26:29 +0000 (06:26 +0000)]
2007-08-03  Hans Boehm <Hans.Boehm@hp.com>

* alloc.c, backgraph.c, headers.c, include/private/gc_priv.h:
Maintain GC_our_memory and GC_n_memory.
* dbg_mlc.c (GC_print_smashed_obj): Improve message.
(GC_print_all_smashed_proc): Pass client object address instead of
base.
* dyn_load.c (sort_heap_sects): New.  (GC_register_map_entries):
Register sections that are contiguous and merged with our heap.
* malloc.c, os_dep.c (GC_text_mapping): Check for just base name
of libraries.
* malloc.c (calloc): Check for special callers even with
USE_PROC_FOR_LIBRARIES. Move assertion.  Add rudimentary
malloc/free tracing.
* misc.c: No longer call GC_init_lib_bounds explicitly.
* thread_local_alloc.c (GC_malloc, GC_malloc_atomic): Always
initialize on demand.
* tests/test.c: Call GC_INIT only when required.

13 years ago2007-08-03 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sat, 4 Aug 2007 05:59:28 +0000 (05:59 +0000)]
2007-08-03  Hans Boehm <Hans.Boehm@hp.com>

* Makefile.direct: Remove comment fragment.
* tests/tests.am: Add smashtest.
* Makefile.in: Regenerate.
* configure.ac: Define GC_USE_DLOPEN_WRAP with redirect-malloc.
* configure: Regenerate.
* pthread_support.c: Fix comment spelling.
* include/private/gcconfig.h: Define USE_PROC_FOR_LIBRARIES with
GC_LINUX_THREADS and REDIRECT_MALLOC.
* tests/smash_test.c: Initial check-in.
* obj_map.c: Print log entry to correct file.
* include/private/thread_local_alloc.h: Add TlsAlloc error check.

13 years ago2007-07-23 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Mon, 23 Jul 2007 21:01:46 +0000 (21:01 +0000)]
2007-07-23  Hans Boehm <Hans.Boehm@hp.com>

* alloc.c (GC_stopped_mark): Call GC_add_current_malloc_heap()
while world is still running.
* os_dep.c (GC_is_heap_base): Don't call GC_add_current_malloc_heap()
with world stopped.
* include/gc.h (GC_INIT for cygwin): Always call GC_add_roots.
* misc.c (GC_init/GC_init_inner): Perform all work in
GC_init_inner.
* Makefile.direct: Expand -DUSE_MUNMAP comment.

2007-07-23  Hans Boehm <Hans.Boehm@hp.com> (really Jim Marshall)

* include/gc.h: Define uintptr_t explicitly for VC++6.
* msvc_dbg.c (GetModuleBase): Revert to strcat if strcat_s doesn't
exist.

13 years ago2007-07-02 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Mon, 2 Jul 2007 23:09:59 +0000 (23:09 +0000)]
2007-07-02  Hans Boehm <Hans.Boehm@hp.com>

* configure: Regenerate, for real this time.

13 years ago2007-07-02 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Mon, 2 Jul 2007 23:08:21 +0000 (23:08 +0000)]
2007-07-02  Hans Boehm <Hans.Boehm@hp.com>

* version.h, configure.ac, doc/README: Change to version 7.1alpha1.
* configure: Regenerate.

13 years ago2007-07-02 Hans Boehm <Hans.Boehm@hp.com> gc7_0
hboehm [Mon, 2 Jul 2007 22:59:50 +0000 (22:59 +0000)]
2007-07-02  Hans Boehm <Hans.Boehm@hp.com>

* version.h, configure.ac, doc/README: Change to version 7.0.
* configure: Regenerate.

13 years ago2007-07-02 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Mon, 2 Jul 2007 22:01:11 +0000 (22:01 +0000)]
2007-07-02  Hans Boehm <Hans.Boehm@hp.com>

* include/gc_config_macros.h: Also check for IA64 when setting
GC_HPUX_THREADS.
* mallocx.c: Change my_bytes_allocd to signed_word.
* include/gc_pthread_redirects.h: Remove obsolete Solaris threads
(as opposed to pthreads) support.

13 years ago2007-07-02 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Mon, 2 Jul 2007 17:17:46 +0000 (17:17 +0000)]
2007-07-02  Hans Boehm <Hans.Boehm@hp.com>

* mach_dep.c (GC_with_callee_saves_pushed): Don't use getcontext()
on ARM/Linux.  Check getcontext() return value.

13 years ago2007-06-29 Hans Boehm <Hans.Boehm@hp.com>
hboehm [Sat, 30 Jun 2007 05:49:31 +0000 (05:49 +0000)]
2007-06-29  Hans Boehm <Hans.Boehm@hp.com>

* backgraph.c (per_object_func): Make argument types consistent.
(GC_traverse_back_graph): Mark GC_deepest_obj.