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