2 Thu Feb 9 16:20:55 CET 2006 Paolo Molaro <lupus@ximian.com>
4 * os_dep.c, include/private/gcconfig.h, darwin_stop_world.c:
5 OSX/x86 support, mostly from Geoff Norton <gnorton@customerdna.com>.
7 Wed Feb 1 18:23:55 CET 2006 Paolo Molaro <lupus@ximian.com>
9 * pthread_support.c, *: back out Zoltan's patch since it's
11 The correct fix it to execute the cleanup from inside
12 the thread also when using the __thread var to access the
15 2006-02-01 Zoltan Varga <vargaz@gmail.com>
17 * pthread_support.c (GC_thread_deregister_foreign): New public API
18 function to deregister a foreign thread from the GC.
19 (GC_destroy_thread_local): Clean up the TLS key too.
21 Tue Jan 24 12:34:06 CET 2006 Paolo Molaro <lupus@ximian.com>
23 * *: update from upstream changes.
25 2006-01-21 Martin Baulig <martin@ximian.com>
27 * include/Makefile.am: Don't install libgc-mono-debugger.h.
29 2006-01-21 Martin Baulig <martin@ximian.com>
31 * include/libgc-mono-debugger.h: Call the conditional
32 `_IN_THE_MONO_DEBUGGER', not `IN_MONO_DEBUGGER'.
34 2006-01-11 Zoltan Varga <vargaz@gmail.com>
36 * include/private/gcconfig.h: Undef _FILE_OFFSET_BITS on sparc.
38 2006-01-03 Geoff Norton <gnorton@customerdna.com>
40 * darwin_stop_world.c: Merge a patch from Bruce Mitchener that fixes a small
43 2005-12-26 Zoltan Varga <vargaz@gmail.com>
45 * include/private/gcconfig.h: Disable PROC_VDB on solaris/x86 as it
48 2005-12-06 Todd Berman <tberman@off.net>
50 * pthread_support.c (GC_thread_register_foreign): Wrap a GC_printf1
51 inside a #ifdef DEBUG_THREADS like the others. Based on a patch from
52 Bryan Berg (bryan AT imeem DOT com).
54 2005-10-11 Zoltan Varga <vargaz@gmail.com>
56 * pthread_support.c (GC_thread_deregister_foreign): Make this return
57 void instead of void*.
59 2005-09-29 Raja R Harinath <harinath@gmail.com>
61 * configure.host: Fix syntax error.
63 2005-08-24 Zoltan Varga <vargaz@gmail.com>
65 * win32_threads.c: If GC_INSIDE_DLL is defined, define the DllMain function for automatic registration
66 of threads with the GC.
68 * configure.in: Add an option for turning GC_INSIDE_DLL on.
70 2005-08-25 Zoltan Varga <vargaz@freemail.hu>
72 * solaris_threads.c (GC_thread_register_foreign): Add dummy implementation.
74 Mon Aug 22 10:41:41 BST 2005 Paolo Molaro <lupus@ximian.com>
76 * include/private/gc_locks.h: make gcc generate correct code for swp
77 (patch by tomba@bat.org, Tomi Valkeinen).
79 2005-08-20 Zoltan Varga <vargaz@freemail.hu>
81 * include/private/gc_locks.h: Fix compilation of GC_test_and_set on IA64 with gcc-3.3.5.
83 Thu Aug 18 18:08:54 CEST 2005 Paolo Molaro <lupus@ximian.com>
85 * include/private/gcconfig.h: use LINUX_STACKBOTTOM on ARM Linux.
87 Mon Aug 1 16:49:45 CEST 2005 Paolo Molaro <lupus@ximian.com>
89 * include/private/pthread_support.h, pthread_support.c: added
90 patch to support registering new threads at runtime (from
91 Michael Meeks <michael.meeks@novell.com>).
93 2005-07-07 Raja R Harinath <rharinath@novell.com>
95 * Makefile.am (INCLUDES): Add $(top_builddir)/.. to pick up mono's
98 Thu Jul 7 12:15:22 CEST 2005 Paolo Molaro <lupus@ximian.com>
100 * pthread_support.c: fix compilation when TLS_ALLOC is not defined.
102 Thu Jul 7 11:59:42 CEST 2005 Paolo Molaro <lupus@ximian.com>
104 * pthread_support.c, Makefile.am: make the __thread var use
105 fast access if available (and avoid dlopen issue, bug #75390).
107 2005-07-05 Ben Maurer <bmaurer@ximian.com>
109 * pthread_stop_world.c (pthread_start_world, _GC_suspend_handler):
110 Make sure that all threads have been started before releasing the
111 GC_lock. Otherwise, the thread table can be corrupt in the restart
112 handler, causing deadlocks and segfaults.
114 2005-06-22 Zoltan Varga <vargaz@freemail.hu>
116 * include/private/gcconfig.h: Fix amd64 build.
118 2005-06-21 Ben Maurer <bmaurer@ximian.com>
120 * configure.host: remove -fexceptions, messes up with nptl
123 2005-06-17 Zoltan Varga <vargaz@freemail.hu>
125 * pthread_support.c: Workaround gcc-3.3 compiler bug.
127 2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
129 * libgc.vcproj: Project file for libgc.
131 2005-05-19 Zoltan Varga <vargaz@freemail.hu>
133 * configure.in: Handle i386-*-linux* as well. Fixes #74960.
135 Tue May 3 16:28:26 CEST 2005 Paolo Molaro <lupus@ximian.com>
137 * os_dep.c: remove usage of libc private symbol.
139 2005-05-02 Miguel de Icaza <miguel@novell.com>
141 * pthread_stop_world.c (GC_restart_handler, GC_suspend_handler):
142 Wrap the original routines into methods that preserve the value of
145 2005-04-18 Zoltan Varga <vargaz@freemail.hu>
147 * configure.in: Applied another freebsd patch from Bill Middleton (flashdict@gmail.com).
149 2005-04-15 Zoltan Varga <vargaz@freemail.hu>
151 * configure.in: Applied another freebsd patch from Bill Middleton (flashdict@gmail.com).
153 2005-04-11 Zoltan Varga <vargaz@freemail.hu>
155 * include/private/gcconfig.h configure.in os_dep.c dyn_load.c:
156 Applied some freebsd patch from Bill Middleton <flashdict@gmail.com>.
158 2005-04-06 Zoltan Varga <vargaz@freemail.hu>
160 * solaris_pthreads.c (GC_pthread_detach): Add locking.
162 * include/gc_pthread_redirects.h (pthread_detach): Override pthread_detach too.
164 * solaris_pthreads.c (GC_pthread_detach): Override pthread_detach too. Fixes
167 2005-03-29 Zoltan Varga <vargaz@freemail.hu>
169 * os_dep.c: Add ability to fall back to mmap-ing memory when sbrk
172 * include/private/gcconfig.h: Enable FALLBACK_TO_MMAP on amd64. Fixes
175 * config.guess config.sub ltmain.sh: Update these files with more
176 up-to-date versions. Fixes #74071.
178 2005-03-09 Zoltan Varga <vargaz@freemail.hu>
180 * solaris_threads.c (GC_thread_is_registered): Add this for solaris
183 * pthread_support.c (GC_thread_is_registered): Move this outside of
184 the #ifdef THREAD_LOCAL_ALLOC.
186 2005-03-03 Zoltan Varga <vargaz@freemail.hu>
188 * include/gc.h pthread_support.c win32_threads.: Add
189 GC_thread_is_registered API function.
191 2005-02-17 Raja R Harinath <rharinath@novell.com>
193 * acinclude.m4: Don't include distributed libtool.m4.
195 Wed Feb 16 22:30:54 CET 2005 Paolo Molaro <lupus@ximian.com>
197 * alloc.c: tune the code to collect instead of expanding
198 the heap if there are many finalizers and we reclaimed some
199 memory from cleaning the finalization queue (should fix
200 bug #71001 and #70701).
202 2005-02-07 Geoff Norton <gnorton@customerdna.com>
204 * include/private/gc_priv.h: Bump the max root sets to 1024
206 Mon Jan 24 16:39:42 CET 2005 Paolo Molaro <lupus@ximian.com>
208 * alloc.c, include/gc.h: add event notification, mostly from
209 a patch by Ben Maurer.
211 2005-01-23 Geoff Norton <gnorton@customerdna.com>
213 * os_dir.c: Change GC_task_self to be static everywhere on Darwin.
214 Allows gcc4.0 to compile.
216 Tue Jan 18 11:19:47 CET 2005 Paolo Molaro <lupus@ximian.com>
218 * pthread_stop_world.c: handle EINTR from sem_wait() call.
220 2004-08-20 Ben Maurer <bmaurer@users.sourceforge.net>
222 * include/private/gc_priv.h: use the test glib does
225 2004-08-20 Zoltan Varga <vargaz@freemail.hu>
227 * include/private/gc_priv.h (__GNUC_PREREQ): Fix typo spotted by Ben.
229 * include/gc_local_alloc.h pthread_support.c: Add
230 GC_local_gcj_fast_malloc.
232 * include/private/gc_priv.h (EXPECT): Enable this on modern versions
235 2004-08-17 Ben Maurer <bmaurer@users.sourceforge.net>
237 * pthread_support.c: make __thread variable static
239 * include/gc_local_alloc.c: make the other headers get
240 included before we define our own variable. This fixes
241 up an ordering problem with GCJ and thread local alloc.
243 The problem was that gc.h needed to include gc_local_alloc.h
244 before gc_gcj.h. However, when gc.h was included after
245 GC_LOCAL_ALLOC_H was #defined, it would not include
248 2004-08-16 Zoltan Varga <vargaz@freemail.hu>
250 * Makefile.am: Create a static version of libmonogc for inclusion into
253 2004-07-27 John Merryweather Cooper <john_m_cooper@yahoo.com>
255 * configure.in: Fix to properly select flags for pthreads
256 on FreeBSD 4.x (aka -STABLE) and 5.x (aka -CURRENT).
258 2004-07-01 Zoltan Varga <vargaz@freemail.hu>
260 * include/install-sh doc/install-sh: New files.
262 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
264 * include/private/gc_priv.h (SMALL_OBJ): Add Hans' fix for crashes
267 Thu Jun 24 15:39:00 CEST 2004 Paolo Molaro <lupus@ximian.com>
269 * alloc.c: use Hans' fix for bug #59557.
271 2004-06-18 Dick Porter <dick@ximian.com>
273 * darwin_stop_world.c: Make the world actually stop. This seems
274 to fix the finalizer thread signalling deadlock in 58706.
276 Sat Jun 5 19:38:20 CEST 2004 Paolo Molaro <lupus@ximian.com>
278 * alloc.c: temporary fix for bug #59557.
280 Tue May 25 13:41:08 EDT 2004 Paolo Molaro <lupus@ximian.com>
282 * darwin_stop_world.c: more thread died races fixes.
284 2004-05-21 Martin Baulig <martin@ximian.com>
286 * pthread_stop_world.c: Merged the changes from linux_threads.c.
288 * linux_threads.c: Removed, this file no longer exists in the
289 latest upstream version.
291 2004-05-20 Martin Baulig <martin@ximian.com>
293 * libgc.patch: Removed. There's no need to have this in a
294 separate file, just use CVS.
296 2004-05-20 Jackson Harper <jackson@ximian.com>
298 * Makefile.am: Remove tests from EXTRA_DIST.
300 Wed May 19 18:57:30 CEST 2004 Paolo Molaro <lupus@ximian.com>
302 * darwin_stop_world.c: deal with threads that die before they can be
303 suspended (should solce the thread_info failed aborts).
305 Wed May 19 18:42:23 CEST 2004 Paolo Molaro <lupus@ximian.com>
307 * configure.in, Makefile.am: update correctly from the libgc sources:
308 this excludes linux_threads.c from the build: Martin will have to port
309 his changes to the new code, since linux_threads.c doesn't exist
310 anymore in the upstream sources.
312 2004-05-19 Raja R Harinath <rharinath@novell.com>
314 * configure.in ($enable_embed_check): New internal option that
315 will be passed by mono's configure.
316 (THREADS): Use $with_libgc_threads, which is passed by mono's
319 2004-05-18 Martin Baulig <martin@ximian.com>
321 Importing Boehm GC 6.3 alpha 6.
323 2004-03-24 Ben Maurer <bmaurer@users.sourceforge.net>
325 * gcj_mlc.c: Do finalization.
327 This is a patch from Hans Boehm that fixes a bug where
328 GC_gcj_malloc never does finalization.
331 http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2004-March/000359.html
332 http://bugzilla.ximian.com/show_bug.cgi?id=55644
336 I am checking this in at Zoltan's request.
338 2003-11-07 Zoltan Varga <vargaz@freemail.hu>
340 * autogen.sh: Fix previous patch and silence noisy GNU which.
342 * autogen.sh: Applied patch from Peter Teichman (peter@ximian.com).
343 Use 'glibtool' instead of 'libtool' on OSX.
345 2003-10-01 Pedro MartÃnez Juliá <yoro@wanadoo.es>
347 * Makefile.am: Change lib_LTLIBRARIES to noinst_LTLIBRARIES because
348 of libmonogc is included inside libmono and without this change it
349 breaks down and not include it.
351 2003-09-26 Zoltan Varga <vargaz@freemail.hu>
353 * mips_sgi_mach_dep.S: Remove since it is a duplicate of .s and it
354 breaks cvs checkout under windows.
356 Wed Sep 17 17:29:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
358 * configure.in: disable ALL_INTERIOR_POINTERS: managed pointers
359 are not allowed in the heap, so this should be safe and it helps
360 reducing false positives.
362 2003-08-28 Dick Porter <dick@ximian.com>
365 * aix_irix_threads.c: Applied bug fix from alpha libgc
367 2003-08-26 Martin Baulig <martin@ximian.com>
369 Imported Boehm GC 6.2.
371 2003-06-20 Martin Baulig <martin@ximian.com>
373 * include/gc.h: Fixed compiler warnings.
375 2003-06-09 Martin Baulig <martin@ximian.com>
377 * include/libgc-mono-debugger.h: New header file. This is
378 installed as <mono/private/libgc-mono-debugger.h>, but it's a
379 private header files and may only be used by the Mono Debugger.
381 * Makefile.am: Build libmonogc.la and install it. For some
382 reason, using a libtool convenience archive doesn't work here.
384 2003-06-08 Martin Baulig <martin@ximian.com>
386 * libgc-mono.pc.in: Removed.
388 * Makefile.am: Don't install anything.
390 * configure.in: We're now embedded in mono and can't be built as a
391 stand-alone module any longer.
393 2003-05-17 Martin Baulig <martin@ximian.com>
395 * libgc.patch, libgc.log: Added patch against the original version
396 and a ChangeLog entry.
398 2003-05-17 Martin Baulig <martin@ximian.com>
400 * misc.c, os_dep.c, include/private/gc_priv.h: Back to the
403 * linux_threads.c: Use the `gc_thread_vtable' internally in this
404 file instead of calling it from the header files.
406 2003-05-16 Martin Baulig <martin@ximian.com>
408 * include/gc.h (GCThreadFunctions): Removed the `pthread_*'
409 function since we don't need them here.
411 * include/gc_pthread_redirects.h: Put back the original version.
413 2003-04-08 Alp Toker <alp@atoker.com>
415 * configure.in: fix automake 1.6 compatibility without breaking
416 previous versions (AM_PROG_AS)
418 2003-03-31 Martin Baulig <martin@ximian.com>
420 * include/gc.h (GCThreadFunctions): New type.
421 (gc_thread_vtable): New global variable.
423 * include/gc_pthread_redirects.h: Use the `gc_thread_vtable'
424 vtable for the redirects instead of calling the methods directly.
425 This allows us to override them at runtime.
427 2003-03-31 Martin Baulig <martin@ximian.com>
429 * include/Makefile.am: Install gc_pthread_redirects.h.
431 * include/gc.h: `#include <gc/gc_pthread_redirects.h>', not
432 `#include "gc_pthread_redirects.h"'.
434 2003-03-31 Martin Baulig <martin@ximian.com>
436 * configure.in: Call the package `libgc-mono'.
438 * libgc-mono.pc.in: Added pkg-config files.
440 2003-03-31 Martin Baulig <martin@ximian.com>
442 This is a modified version of Boehm GC 6.1.