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