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