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