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