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