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