[corlib] Improve CancellationTokenSource test
[mono.git] / libgc / ChangeLog
1 2010-07-27  Geoff Norton  <gnorton@novell.com>
2
3         * darwin_stop_world.c: Dont track unneeded registers for amd64.
4
5 2010-06-29  Geoff Norton  <gnorton@novell.com>
6
7         * include/private/gc_locks.h: Implement armv6+ variants of
8         GC_test_and_set
9
10 2010-06-14  Geoff Norton  <gnorton@novell.com>
11
12         * dyn_load.c: Fix one other place where l_addr could be null on 
13         bionic.
14
15 2010-05-31  Geoff Norton  <gnorton@novell.com>
16
17         * dyn_load.c: Its possible for linkmap->l_addr to be null for the
18         linker entry on some systems (Android/Bionic based libc's)
19
20 2010-04-23  Geoff Norton  <gnorton@novell.com>
21
22         * include/private/gcconfig.h: Darwin x86-64 bit support.
23         * darwin_stop_world.c: Ditto
24
25 2010-04-19  Jonathan Pryor  <jpryor@novell.com>
26
27         * include/private/gcconfig.h: Android platforms are built atop Linux,
28           don't use glibc, and uses `environ` instead of `__environ`.
29         * configure.in: Use AC_CHECK_LIB() to check for pthread instead of
30           just blindly linking to -lpthread, as Android includes pthread
31           support within libc and doesn't provide a separate libpthread.
32
33 2010-03-09  Zoltan Varga  <vargaz@gmail.com>
34
35         * include/private/gc_locks.h: Fix amd64 build with newer gcc's.
36
37 2010-03-04  David S. Miller  <davem@davemloft.net>
38
39        * include/private/gc_locks.h: Add SPARC implementations of
40        GC_compare_and_exchange and GC_memory_barrier.
41
42 2010-02-22  Zoltan Varga  <vargaz@gmail.com>
43
44         * obj_map.c (GC_add_map_entry): Speed this up for the common case where
45         GC_register_displacement () was never called.
46
47 2010-01-29  Geoff Norton  <gnorton@novell.com>
48
49         * include/private/gcconfig.h: Don't define NO_PTHREAD_TRYLOCK on darwin-x86
50         Patch from Tom Philpot (tom.philpot@gmail.com)
51
52 2009-10-25  Zoltan Varga  <vargaz@gmail.com>
53
54         * misc.c (GC_get_suspend_signal): New API function to return the suspend signal
55         used by libgc.
56
57 2009-09-29  Zoltan Varga  <vargaz@gmail.com>
58
59         * solaris_threads.c (GC_thr_daemon): Don't crash if GC_lookup_thread () returns
60         NULL.
61
62 2009-09-25  Zoltan Varga  <vargaz@gmail.com>
63
64         * solaris_threads.c (GC_get_orig_stack_size): Remove the annoying 'Large stack
65         limit' warning.
66
67 2009-07-20  Geoff Norton  <gnorton@novell.com>
68
69         * darwin_stop_world.c: Fix the x86 version guards to use Apple's
70         properly defined macros.
71
72 2009-07-02  jonas echterhoff <jonas@unity3d.com>
73
74         * darwin_stop_world.c: make debugger code compile on
75         OS X.
76
77         * pthread_support.c: give mach ports to the debugger instead of pthreads,
78         as those can be iterated over from another executable.
79
80 2009-06-22  Neale Ferguson <neale@sinenomine.net>
81
82         * include/private/gc_locks.h: Fix typo in 390 version of GC_compare_and_exchange
83         and define a null memory barrier.
84
85 2009-06-16  Geoff Norton  <gnorton@novell.com>
86
87         * include/private/gcconfig.h:  Disable static scanning on this platform
88         * misc.c: Enable platform-specific disabling of static scanning
89
90 2009-06-06  Zoltan Varga  <vargaz@gmail.com>
91
92         * CMakeLists.txt: Fix handling of powerpc and the selection of 
93         threads. Delete commented out stuff.
94         
95         * CMakeLists.txt: CMake build file for libgc.
96
97 2009-05-18  Miguel de Icaza  <miguel@novell.com>
98
99         * include/private/gcconfig.h: Add support for Linux on the PS3
100
101 2009-04-28  Zoltan Varga  <vargaz@gmail.com>
102
103         * misc.c (GC_init): Avoid casting an lvalue. Fixes part of #498692.
104
105 2009-04-24  Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy
106 Stetskovych and Ian Dichkovsky <mono@n-ix.com.ua>
107
108         * include/private/gcconfig.h: Changes to support 64-bit ABI on MIPS.
109         Add an additional condition for a proper defining of  ALIGNMENT
110         and CPP_WORDSZ.
111
112 2009-04-10  Zoltan Varga  <vargaz@gmail.com>
113
114         * include/private/gc_locks.h (GC_test_and_set): Merge a change from libgc
115         7.1's libatomic-ops to fix the ppc build with gcc 4.4.
116
117 2009-02-23  Zoltan Varga  <vargaz@gmail.com>
118
119         * os_dep.c (GC_init_linux_data_start): Avoid the call to GC_find_limit ()
120         if GC_no_dls is TRUE, as it is not needed and it complicates debugging since
121         it causes a SIGSEGV.
122
123 2009-01-18  Zoltan Varga  <vargaz@gmail.com>
124
125         * include/private/gcconfig.h: Applied patch from Koushik Dutta
126         (koush@koushikdutta.com). Define SEARCH_FOR_DATA_START for android.
127
128 2008-11-18  Mark Probst  <mark.probst@gmail.com>
129
130         * include/private/gc_locks.h (test_and_set): The PPC64 case is
131         wrong, as it operates on 64 bit values, not on 32 bit ones as the
132         function requires.  The PPC32 case is sufficient.
133
134 2008-09-29  Geoff Norton  <gnorton@novell.com>
135
136         * include/private/gcconfig.h: Make Darwin/ARM use mmap() instead of
137         sbrk() for its allocator implementation.
138
139 2008-08-28  Geoff Norton  <gnorton@novell.com>
140
141         * darwin_stop_world.c:
142         * include/private/gcconfig.h: Add support for Darwin/ARM
143
144 2008-08-12  Geoff Norton  <gnorton@novell.com>
145
146         * pthread_support.c: GCC shipped with SLES9 ppc gets confused with our current
147         GC_setspecific define.  Unfold the define into a static inline on all platforms
148         except ppc where it is a static leaf function.
149
150 2008-08-10  Zoltan Varga  <vargaz@gmail.com>
151
152         * include/private/gc_locks.h: Add amd64 support so parallel mark works on
153         amd64 too.
154
155 2008-08-05  Andreas Färber  <andreas.faerber@web.de>
156
157         * autogen.sh: Suppress arguments warning for NOCONFIGURE.
158         
159         Contributed under MIT/X11 license.
160
161 2008-08-03  Zoltan Varga  <vargaz@gmail.com>
162
163         * pthread_support.c (GC_thread_exit_proc): Null out the tls key to prevent the
164         dtor function from being callled, since that would read freed memory.
165
166 2008-05-23  Massimiliano Mantione  <massi@ximian.com>
167         * alloc.c: Moved emitting "GC_EVENT_START" and "GC_EVENT_END" events
168         from "GC_maybe_gc" to "GC_try_to_collect_inner".
169
170 2008-05-19  Zoltan Varga  <vargaz@gmail.com>
171
172         * configure.in: Add two variables for passing CPPFLAGS/CFLAGS from the parent
173         configure.
174
175 2008-04-28  Kornél Pál  <kornelpal@gmail.com>
176
177         * include/gc.h: Add GC_DllMain.
178         * win32_threads.c: Rename DllMain to GC_DllMain.
179
180         Contributed under MIT/X11 license.
181
182 2008-04-15  Jonathan Chambers  <joncham@gmail.com>
183         * include/private/gcconfig.h: Backport GC7 code to support Win64.
184         * win32_threads.c: Backport GC7 code to support Win64.
185
186 2008-02-07  Massimiliano Mantione  <massi@ximian.com>
187         * include/gc.h: (GCEventType): Added start-stop the world events.
188         * pthread_stop_world.c: (GC_stop_world and GC_start_world): hooked
189         start-stop the world events.
190
191 2007-11-05  Geoff Norton  <gnorton@novell.com>
192
193         * darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard.
194
195 2007-11-05  Geoff Norton  <gnorton@novell.com>
196
197         * darwin_stop_world.c: Also push ebp when pushing all stacks on Leopard
198         and pre-Leopard.
199
200 2007-11-01  Geoff Norton  <gnorton@novell.com>
201
202         * darwin_stop_world.c:  Handle Leopards renaming of some structure
203         members.
204
205 Mon Sep 24 16:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
206
207         * include/private/gc_priv.h: increase the default MAX_HEAP_SECTS
208         value (bug#314759, bug#324318).
209
210 Tue Sep 11 16:22:28 CEST 2007 Paolo Molaro <lupus@ximian.com>
211
212         * pthread_support.c: export GC_thread_tls.
213
214 2007-08-22  Martin Baulig  <martin@ximian.com>
215
216         * pthread_stop_world.c
217         (GC_mono_debugger_add_all_threads): Removed.
218         (GC_mono_debugger_get_stack_ptr): New public function.
219
220 Wed Jul 4 17:46:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
221
222         * darwin_stop_world.c: use a larger array for GC_mach_threads
223         (it'll need to be enlarged dynamically, but it's with the world
224         stopped, bug #81974).
225
226 2007-05-09  Jonathan Chambers  <joncham@gmail.com>
227
228         * win32_threads.c: If SuspendThread fails, don't abort. Instead
229         remove thread from GC, as this only seems to happen when thread is
230         terminating.
231
232 2007-03-29  Zoltan Varga  <vargaz@gmail.com>
233
234         * autogen.sh: Applied patch from Priit Laes <amd@store20.com>. Fix the running
235         of libtoolize.
236
237         * ltmain.sh config.sub config.guess: Removed, libtoolize creates them now.
238
239 2007-03-13  Jonathan Chambers  <joncham@gmail.com>
240
241         * include/gc.h: Fix _WIN64 typedefs.
242         * libgc.vcproj: Fix Release target and begin Win64 port.
243         
244 2007-02-01  Geoff Norton  <gnorton@customerdna.com>
245
246         * include/private/gc_pthread_redirects.h:
247         * include/private/gc_config_macros.h:
248         * include/private/gc_priv.h:
249         * configure.in:
250         * pthread_support.c
251         * specific.c:  Support for NetBSD-CURRENT.  Loosely based on NetBSD
252         pkgsrc patch.
253
254 2006-12-22  Robert Jordan  <robertj@gmx.net>
255
256         * include/private/gcconfig.h, os_dep.c:
257         Add FreeBSD/amd64 support. Based on a FreeBSD Port Collection patch.
258         r=Paolo.
259
260 2006-11-19  Allan Hsu <allan@counterpop.net>
261
262         * libgc/darwin_stop_world.c, libgc/include/private/gc_priv.h,
263         libgc/os_dep.c: Fixes to make the GC work on OSX/Intel with XCode
264         2.4 (10.4u SDK and newer).
265
266         This code should work with older versions of the SDK as well. 
267
268 Tue Oct 10 16:58:37 CEST 2006 Paolo Molaro <lupus@ximian.com>
269
270         * darwin_stop_world.c: patch from Allan Hsu <allan@counterpop.net>
271         to avoid using memory just after freeing it.
272
273 2006-08-31  Zoltan Varga  <vargaz@freemail.hu>
274
275         * libgc.vcproj: Define GC_INSIDE_DLL on VC build too.
276
277 2006-08-18  Zoltan Varga  <vargaz@gmail.com>
278
279         * Makefile.am (EXTRA_DIST): Fix make dist.
280
281         * libtool.m4: Removed, should not be in SVN.
282
283 2006-07-19  Zoltan Varga  <vargaz@gmail.com>
284
285         * configure.in: Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Beginning
286         of alpha support.
287
288 2006-06-28  Martin Baulig  <martin@ximian.com>
289
290         * darwin_stop_world.c, pthread_support.c: Committing a patch from
291         Allan Hsu <allan@imeem.com> to fix memory leaks; see bug #78628.
292
293 2006-06-26  Zoltan Varga  <vargaz@gmail.com>
294
295         * solaris_threads.c: And another one.
296
297         * solaris_pthreads.c: Avoid another solaris/x86 #error.
298
299 2006-04-08  Zoltan Varga  <vargaz@gmail.com>
300
301         * dyn_load.c: Avoid #error "large files are not supported by libelf" errors on solaris/x86.
302
303 2006-05-24  Martin Baulig  <martin@ximian.com>
304
305         * doc/debugger-support.txt: Removed; this issue turned out to be
306         something completely different and the patch mentioned in this
307         file is already reverted.
308
309 2006-05-23  Zoltan Varga  <vargaz@gmail.com>
310
311         * os_dep.c (GC_unix_get_mem): Add an assert to bail out early if the runtime is
312         run on a machine with smaller page size than HBLKSIZE.
313
314 2006-05-19  Martin Baulig  <martin@ximian.com>
315
316         * include/gc.h: Don't include "libgc-mono-debugger.h".
317
318         * pthread_support.c, pthread_stop_world.c: Include it here.
319
320 2006-05-17  Martin Baulig  <martin@ximian.com>
321
322         * pthread-support.c, pthread-stop-world.c: Put the debugger stuff
323         inside a `#if LIBGC_MONO_DEBUGGER_SUPPORTED' conditional.
324
325 2006-05-17  Martin Baulig  <martin@ximian.com>
326
327         Fix a weird race condition which prevented XSP from working inside
328         the debugger - see doc/debugger-issues.txt for details.
329
330         * include/gc.h: Moved the "libgc-mono-debugger.h" #include down
331         after the gc_pthread_redirects.h one.
332
333         * include/libgc-mono-debugger.h
334         (GCThreadFunctions): Added `thread_created' and `thread_exited'.
335         (GC_mono_debugger_add_all_threads): New function prototype.
336
337         * pthread_stop_world.c (gc_thread_vtable): Allow the vtable and
338         any function in it be NULL; use NULL as the default vtable.
339         (GC_mono_debugger_add_all_threads): New public function.
340
341         * pthread_support.c
342         (GC_delete_thread): Call `gc_thread_vtable->thread_exited()'.
343         (GC_thr_init): Call `gc_thread_vtable->thread_created()'.
344
345 2006-04-05  Zoltan Varga  <vargaz@gmail.com>
346
347         * include/private/gcconfig.h (LINUX and SPARC): Applied patch from 
348         David S. Miller <davem@davemloft.net>: Do not
349        use _etest and GC_SysVGetDataStart() to figure out DATASTART.
350        Instead use either SEARCH_FOR_DATA_START or __environ, based
351        upon GLIBC version.
352
353 2006-03-25  Zoltan Varga  <vargaz@gmail.com>
354
355         * configure.in: Applied patch from David S. Miller <davem@davemloft.net>: Fix support for sparc/linux.
356
357 Mon Mar 20 18:56:21 CET 2006 Paolo Molaro <lupus@ximian.com>
358
359         * include/gc.h: enable pthread redirection on darwin, too.
360         * include/gc_pthread_redirects.h: completed from Bryan Berg.
361
362 Thu Feb 9 16:20:55 CET 2006 Paolo Molaro <lupus@ximian.com>
363
364         * os_dep.c, include/private/gcconfig.h, darwin_stop_world.c:
365         OSX/x86 support, mostly from Geoff Norton <gnorton@customerdna.com>.
366
367 Wed Feb 1 18:23:55 CET 2006 Paolo Molaro <lupus@ximian.com>
368
369         * pthread_support.c, *: back out Zoltan's patch since it's
370         incorrect.
371         The correct fix it to execute the cleanup from inside
372         the thread also when using the __thread var to access the
373         current GC_thread.
374
375 2006-02-01  Zoltan Varga  <vargaz@gmail.com>
376
377         * pthread_support.c (GC_thread_deregister_foreign): New public API
378         function to deregister a foreign thread from the GC.
379         (GC_destroy_thread_local): Clean up the TLS key too.
380         
381 Tue Jan 24 12:34:06 CET 2006 Paolo Molaro <lupus@ximian.com>
382
383         * *: update from upstream changes.
384
385 2006-01-21  Martin Baulig  <martin@ximian.com>
386
387         * include/Makefile.am: Don't install libgc-mono-debugger.h.
388
389 2006-01-21  Martin Baulig  <martin@ximian.com>
390
391         * include/libgc-mono-debugger.h: Call the conditional
392         `_IN_THE_MONO_DEBUGGER', not `IN_MONO_DEBUGGER'.
393
394 2006-01-11  Zoltan Varga  <vargaz@gmail.com>
395
396         * include/private/gcconfig.h: Undef _FILE_OFFSET_BITS on sparc.
397
398 2006-01-03  Geoff Norton  <gnorton@customerdna.com>
399
400         * darwin_stop_world.c:  Merge a patch from Bruce Mitchener that fixes a small
401         leak on OS X.
402
403 2005-12-26  Zoltan Varga  <vargaz@gmail.com>
404
405         * include/private/gcconfig.h: Disable PROC_VDB on solaris/x86 as it
406         doesn't seem to work.
407
408 2005-12-06  Todd Berman  <tberman@off.net>
409
410         * pthread_support.c (GC_thread_register_foreign): Wrap a GC_printf1
411         inside a #ifdef DEBUG_THREADS like the others. Based on a patch from
412         Bryan Berg (bryan AT imeem DOT com).
413
414 2005-10-11  Zoltan Varga  <vargaz@gmail.com>
415
416         * pthread_support.c (GC_thread_deregister_foreign): Make this return
417         void instead of void*.
418
419 2005-09-29  Raja R Harinath  <harinath@gmail.com>
420
421         * configure.host: Fix syntax error.
422
423 2005-08-24  Zoltan Varga  <vargaz@gmail.com>
424
425         * win32_threads.c: If GC_INSIDE_DLL is defined, define the DllMain function for automatic registration
426         of threads with the GC.
427
428         * configure.in: Add an option for turning GC_INSIDE_DLL on.     
429
430 2005-08-25  Zoltan Varga  <vargaz@freemail.hu>
431
432         * solaris_threads.c (GC_thread_register_foreign): Add dummy implementation.
433
434 Mon Aug 22 10:41:41 BST 2005 Paolo Molaro <lupus@ximian.com>
435
436         * include/private/gc_locks.h: make gcc generate correct code for swp
437         (patch by tomba@bat.org, Tomi Valkeinen).
438
439 2005-08-20  Zoltan Varga  <vargaz@freemail.hu>
440
441         * include/private/gc_locks.h: Fix compilation of GC_test_and_set on IA64 with gcc-3.3.5.
442
443 Thu Aug 18 18:08:54 CEST 2005 Paolo Molaro <lupus@ximian.com>
444
445         * include/private/gcconfig.h: use LINUX_STACKBOTTOM on ARM Linux.
446
447 Mon Aug 1 16:49:45 CEST 2005 Paolo Molaro <lupus@ximian.com>
448
449         * include/private/pthread_support.h, pthread_support.c: added
450         patch to support registering new threads at runtime (from
451         Michael Meeks <michael.meeks@novell.com>).
452
453 2005-07-07  Raja R Harinath  <rharinath@novell.com>
454
455         * Makefile.am (INCLUDES): Add $(top_builddir)/.. to pick up mono's
456         config.h.
457
458 Thu Jul 7 12:15:22 CEST 2005 Paolo Molaro <lupus@ximian.com>
459
460         * pthread_support.c: fix compilation when TLS_ALLOC is not defined.
461
462 Thu Jul 7 11:59:42 CEST 2005 Paolo Molaro <lupus@ximian.com>
463
464         * pthread_support.c, Makefile.am: make the __thread var use
465         fast access if available (and avoid dlopen issue, bug #75390).
466
467 2005-07-05  Ben Maurer  <bmaurer@ximian.com>
468
469         * pthread_stop_world.c (pthread_start_world, _GC_suspend_handler):
470         Make sure that all threads have been started before releasing the
471         GC_lock. Otherwise, the thread table can be corrupt in the restart
472         handler, causing deadlocks and segfaults.
473
474 2005-06-22  Zoltan Varga  <vargaz@freemail.hu>
475
476         * include/private/gcconfig.h: Fix amd64 build.
477
478 2005-06-21  Ben Maurer  <bmaurer@ximian.com>
479
480         * configure.host: remove -fexceptions, messes up with nptl
481         includes, as on fc4.
482
483 2005-06-17  Zoltan Varga  <vargaz@freemail.hu>
484
485         * pthread_support.c: Workaround gcc-3.3 compiler bug.
486
487 2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>
488
489         * libgc.vcproj: Project file for libgc.
490
491 2005-05-19  Zoltan Varga  <vargaz@freemail.hu>
492
493         * configure.in: Handle i386-*-linux* as well. Fixes #74960.     
494
495 Tue May 3 16:28:26 CEST 2005 Paolo Molaro <lupus@ximian.com>
496
497         * os_dep.c: remove usage of libc private symbol.
498
499 2005-05-02  Miguel de Icaza  <miguel@novell.com>
500
501         * pthread_stop_world.c (GC_restart_handler, GC_suspend_handler):
502         Wrap the original routines into methods that preserve the value of
503         errno.  Fixes #74740
504
505 2005-04-18  Zoltan Varga  <vargaz@freemail.hu>
506
507         * configure.in: Applied another freebsd patch from Bill Middleton (flashdict@gmail.com).
508
509 2005-04-15  Zoltan Varga  <vargaz@freemail.hu>
510
511         * configure.in: Applied another freebsd patch from Bill Middleton (flashdict@gmail.com).
512
513 2005-04-11  Zoltan Varga  <vargaz@freemail.hu>
514
515         * include/private/gcconfig.h configure.in os_dep.c dyn_load.c: 
516         Applied some freebsd patch from Bill Middleton <flashdict@gmail.com>.
517
518 2005-04-06  Zoltan Varga  <vargaz@freemail.hu>
519
520         * solaris_pthreads.c (GC_pthread_detach): Add locking.
521
522         * include/gc_pthread_redirects.h (pthread_detach): Override pthread_detach too.
523
524         * solaris_pthreads.c (GC_pthread_detach): Override pthread_detach too. Fixes
525         #74223.
526
527 2005-03-29  Zoltan Varga  <vargaz@freemail.hu>
528
529         * os_dep.c: Add ability to fall back to mmap-ing memory when sbrk
530         fails.
531
532         * include/private/gcconfig.h: Enable FALLBACK_TO_MMAP on amd64. Fixes
533         #73882.
534
535         * config.guess config.sub ltmain.sh: Update these files with more
536         up-to-date versions. Fixes #74071.
537
538 2005-03-09  Zoltan Varga  <vargaz@freemail.hu>
539
540         * solaris_threads.c (GC_thread_is_registered): Add this for solaris
541         too.
542
543         * pthread_support.c (GC_thread_is_registered): Move this outside of
544         the #ifdef THREAD_LOCAL_ALLOC.
545
546 2005-03-03  Zoltan Varga  <vargaz@freemail.hu>
547
548         * include/gc.h pthread_support.c win32_threads.: Add 
549         GC_thread_is_registered API function.
550
551 2005-02-17  Raja R Harinath  <rharinath@novell.com>
552
553         * acinclude.m4: Don't include distributed libtool.m4.
554         
555 Wed Feb 16 22:30:54 CET 2005 Paolo Molaro <lupus@ximian.com>
556
557         * alloc.c: tune the code to collect instead of expanding
558         the heap if there are many finalizers and we reclaimed some
559         memory from cleaning the finalization queue (should fix
560         bug #71001 and #70701).
561
562 2005-02-07  Geoff Norton  <gnorton@customerdna.com>
563
564         * include/private/gc_priv.h: Bump the max root sets to 1024
565
566 Mon Jan 24 16:39:42 CET 2005 Paolo Molaro <lupus@ximian.com>
567
568         * alloc.c, include/gc.h: add event notification, mostly from 
569         a patch by Ben Maurer.
570
571 2005-01-23  Geoff Norton  <gnorton@customerdna.com>
572         
573         * os_dir.c: Change GC_task_self to be static everywhere on Darwin.
574         Allows gcc4.0 to compile.
575
576 Tue Jan 18 11:19:47 CET 2005 Paolo Molaro <lupus@ximian.com>
577
578         * pthread_stop_world.c: handle EINTR from sem_wait() call.
579
580 2004-08-20 Ben Maurer  <bmaurer@users.sourceforge.net>
581
582         * include/private/gc_priv.h: use the test glib does
583         for EXPECT.
584
585 2004-08-20  Zoltan Varga  <vargaz@freemail.hu>
586
587         * include/private/gc_priv.h (__GNUC_PREREQ): Fix typo spotted by Ben.
588
589         * include/gc_local_alloc.h pthread_support.c: Add 
590         GC_local_gcj_fast_malloc.
591
592         * include/private/gc_priv.h (EXPECT): Enable this on modern versions
593         of gcc.
594
595 2004-08-17 Ben Maurer  <bmaurer@users.sourceforge.net>
596
597         * pthread_support.c: make __thread variable static
598         
599         * include/gc_local_alloc.c: make the other headers get
600         included before we define our own variable. This fixes
601         up an ordering problem with GCJ and thread local alloc.
602         
603         The problem was that gc.h needed to include gc_local_alloc.h
604         before gc_gcj.h. However, when gc.h was included after
605         GC_LOCAL_ALLOC_H was #defined, it would not include
606         gc_local_alloc.h.
607
608 2004-08-16  Zoltan Varga  <vargaz@freemail.hu>
609
610         * Makefile.am: Create a static version of libmonogc for inclusion into
611         the mono executable.
612
613 2004-07-27  John Merryweather Cooper <john_m_cooper@yahoo.com>
614
615         * configure.in:  Fix to properly select flags for pthreads
616         on FreeBSD 4.x (aka -STABLE) and 5.x (aka -CURRENT).
617         
618 2004-07-01  Zoltan Varga  <vargaz@freemail.hu>
619
620         * include/install-sh doc/install-sh: New files.
621
622 2004-06-30  Zoltan Varga  <vargaz@freemail.hu>
623
624         * include/private/gc_priv.h (SMALL_OBJ): Add Hans' fix for crashes
625         seen on SPARC64.
626
627 Thu Jun 24 15:39:00 CEST 2004 Paolo Molaro <lupus@ximian.com>
628
629         * alloc.c: use Hans' fix for bug #59557.
630
631 2004-06-18  Dick Porter  <dick@ximian.com>
632
633         * darwin_stop_world.c: Make the world actually stop.  This seems
634         to fix the finalizer thread signalling deadlock in 58706.
635
636 Sat Jun 5 19:38:20 CEST 2004 Paolo Molaro <lupus@ximian.com>
637
638         * alloc.c: temporary fix for bug #59557.
639
640 Tue May 25 13:41:08 EDT 2004 Paolo Molaro <lupus@ximian.com>
641
642         * darwin_stop_world.c: more thread died races fixes.
643
644 2004-05-21  Martin Baulig  <martin@ximian.com>
645
646         * pthread_stop_world.c: Merged the changes from linux_threads.c.
647
648         * linux_threads.c: Removed, this file no longer exists in the
649         latest upstream version.
650
651 2004-05-20  Martin Baulig  <martin@ximian.com>
652
653         * libgc.patch: Removed.  There's no need to have this in a
654         separate file, just use CVS.
655
656 2004-05-20  Jackson Harper  <jackson@ximian.com>
657
658         * Makefile.am: Remove tests from EXTRA_DIST.
659         
660 Wed May 19 18:57:30 CEST 2004 Paolo Molaro <lupus@ximian.com>
661
662         * darwin_stop_world.c: deal with threads that die before they can be
663         suspended (should solce the thread_info failed aborts).
664
665 Wed May 19 18:42:23 CEST 2004 Paolo Molaro <lupus@ximian.com>
666
667         * configure.in, Makefile.am: update correctly from the libgc sources:
668         this excludes linux_threads.c from the build: Martin will have to port
669         his changes to the new code, since linux_threads.c doesn't exist
670         anymore in the upstream sources.
671
672 2004-05-19  Raja R Harinath  <rharinath@novell.com>
673
674         * configure.in ($enable_embed_check): New internal option that
675         will be passed by mono's configure.
676         (THREADS): Use $with_libgc_threads, which is passed by mono's
677         configure.
678
679 2004-05-18  Martin Baulig  <martin@ximian.com>
680
681         Importing Boehm GC 6.3 alpha 6.
682
683 2004-03-24 Ben Maurer  <bmaurer@users.sourceforge.net>
684
685         * gcj_mlc.c: Do finalization.
686
687         This is a patch from Hans Boehm that fixes a bug where
688         GC_gcj_malloc never does finalization.
689
690         See:
691         http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2004-March/000359.html
692         http://bugzilla.ximian.com/show_bug.cgi?id=55644
693
694         Fixes #55644.
695
696         I am checking this in at Zoltan's request.
697
698 2003-11-07  Zoltan Varga  <vargaz@freemail.hu>
699
700         * autogen.sh: Fix previous patch and silence noisy GNU which.   
701         
702         * autogen.sh: Applied patch from Peter Teichman (peter@ximian.com). 
703         Use 'glibtool' instead of 'libtool' on OSX. 
704
705 2003-10-01  Pedro Martínez Juliá  <yoro@wanadoo.es>
706
707         * Makefile.am: Change lib_LTLIBRARIES to noinst_LTLIBRARIES because
708         of libmonogc is included inside libmono and without this change it
709         breaks down and not include it.
710
711 2003-09-26  Zoltan Varga  <vargaz@freemail.hu>
712
713         * mips_sgi_mach_dep.S: Remove since it is a duplicate of .s and it
714         breaks cvs checkout under windows.
715
716 Wed Sep 17 17:29:11 CEST 2003 Paolo Molaro <lupus@ximian.com>
717
718         * configure.in: disable ALL_INTERIOR_POINTERS: managed pointers
719         are not allowed in the heap, so this should be safe and it helps
720         reducing false positives.
721
722 2003-08-28  Dick Porter  <dick@ximian.com>
723
724         * pthread_support.c:
725         * aix_irix_threads.c:  Applied bug fix from alpha libgc
726
727 2003-08-26  Martin Baulig  <martin@ximian.com>
728
729         Imported Boehm GC 6.2.
730
731 2003-06-20  Martin Baulig  <martin@ximian.com>
732
733         * include/gc.h: Fixed compiler warnings.
734
735 2003-06-09  Martin Baulig  <martin@ximian.com>
736
737         * include/libgc-mono-debugger.h: New header file.  This is
738         installed as <mono/private/libgc-mono-debugger.h>, but it's a
739         private header files and may only be used by the Mono Debugger.
740
741         * Makefile.am: Build libmonogc.la and install it.  For some
742         reason, using a libtool convenience archive doesn't work here.
743
744 2003-06-08  Martin Baulig  <martin@ximian.com>
745
746         * libgc-mono.pc.in: Removed.
747
748         * Makefile.am: Don't install anything.
749
750         * configure.in: We're now embedded in mono and can't be built as a
751         stand-alone module any longer.
752
753 2003-05-17  Martin Baulig  <martin@ximian.com>
754
755         * libgc.patch, libgc.log: Added patch against the original version
756         and a ChangeLog entry.
757
758 2003-05-17  Martin Baulig  <martin@ximian.com>
759
760         * misc.c, os_dep.c, include/private/gc_priv.h: Back to the
761         original version.
762
763         * linux_threads.c: Use the `gc_thread_vtable' internally in this
764         file instead of calling it from the header files.
765
766 2003-05-16  Martin Baulig  <martin@ximian.com>
767
768         * include/gc.h (GCThreadFunctions): Removed the `pthread_*'
769         function since we don't need them here.
770
771         * include/gc_pthread_redirects.h: Put back the original version.
772
773 2003-04-08  Alp Toker <alp@atoker.com>
774
775         * configure.in: fix automake 1.6 compatibility without breaking
776         previous versions (AM_PROG_AS)
777
778 2003-03-31  Martin Baulig  <martin@ximian.com>
779
780         * include/gc.h (GCThreadFunctions): New type.
781         (gc_thread_vtable): New global variable.
782
783         * include/gc_pthread_redirects.h: Use the `gc_thread_vtable'
784         vtable for the redirects instead of calling the methods directly.
785         This allows us to override them at runtime.     
786
787 2003-03-31  Martin Baulig  <martin@ximian.com>
788
789         * include/Makefile.am: Install gc_pthread_redirects.h.
790
791         * include/gc.h: `#include <gc/gc_pthread_redirects.h>', not
792         `#include "gc_pthread_redirects.h"'.
793
794 2003-03-31  Martin Baulig  <martin@ximian.com>
795
796         * configure.in: Call the package `libgc-mono'.
797
798         * libgc-mono.pc.in: Added pkg-config files.
799
800 2003-03-31  Martin Baulig  <martin@ximian.com>
801
802         This is a modified version of Boehm GC 6.1.
803