]>
granicus.if.org Git - gc/log
Geoff Norton [Tue, 1 Jun 2010 00:39:19 +0000 (00:39 +0000)]
2010-05-31 Geoff Norton <gnorton@novell.com>
* dyn_load.c: Its possible for linkmap->l_addr to be null for the
linker entry on some systems (Android/Bionic based libc's)
svn path=/trunk/mono/; revision=158239
Geoff Norton [Fri, 23 Apr 2010 17:21:39 +0000 (17:21 +0000)]
2010-04-23 Geoff Norton <gnorton@novell.com>
* include/private/gcconfig.h: Darwin x86-64 bit support.
* darwin_stop_world.c: Ditto
svn path=/trunk/mono/; revision=156016
Jonathan Pryor [Mon, 19 Apr 2010 18:49:27 +0000 (18:49 +0000)]
* include/private/gcconfig.h: Android platforms are built atop Linux,
don't use glibc, and uses `environ` instead of `__environ`.
* configure.in: Use AC_CHECK_LIB() to check for pthread instead of
just blindly linking to -lpthread, as Android includes pthread
support within libc and doesn't provide a separate libpthread.
svn path=/trunk/mono/; revision=155747
Zoltan Varga [Tue, 9 Mar 2010 00:40:06 +0000 (00:40 +0000)]
2010-03-09 Zoltan Varga <vargaz@gmail.com>
* include/private/gc_locks.h: Fix amd64 build with newer gcc's.
svn path=/trunk/mono/; revision=153291
Zoltan Varga [Fri, 5 Mar 2010 14:22:32 +0000 (14:22 +0000)]
In libgc/:
2010-03-04 David S. Miller <davem@davemloft.net>
* include/private/gc_locks.h: Add SPARC implementations of
GC_compare_and_exchange and GC_memory_barrier.
In mono/mini/:
2010-03-04 David S. Miller <davem@davemloft.net>
* mini-sparc.h: Always use MONO_ARCH_USE_SIGACTION. Linux kernels
that don't provide the siginfo in the second signal handler argument
are buggy, and this has been fixed for years.
* mini.h (GET_CONTEXT): Remove __sparc__ special case.
(SIG_HANDLER_SIGNATURE, SIG_HANDLER_PARMS): Likewise.
svn path=/trunk/mono/; revision=153114
Zoltan Varga [Mon, 22 Feb 2010 01:19:53 +0000 (01:19 +0000)]
2010-02-22 Zoltan Varga <vargaz@gmail.com>
* obj_map.c (GC_add_map_entry): Speed this up for the common case where
GC_register_displacement () was never called.
svn path=/trunk/mono/; revision=152155
Geoff Norton [Fri, 29 Jan 2010 18:58:53 +0000 (18:58 +0000)]
2010-01-29 Geoff Norton <gnorton@novell.com>
* include/private/gcconfig.h: Don't define NO_PTHREAD_TRYLOCK on darwin-x86
Patch from Tom Philpot (tom.philpot@gmail.com)
svn path=/trunk/mono/; revision=150568
Miguel de Icaza [Wed, 20 Jan 2010 21:35:58 +0000 (21:35 +0000)]
remove DOS newlines
svn path=/trunk/mono/; revision=149932
Gonzalo Paniagua Javier [Sat, 16 Jan 2010 01:19:42 +0000 (01:19 +0000)]
Add 2 empty functions needed to compile in the PS3.
svn path=/trunk/mono/; revision=149679
Miguel de Icaza [Sat, 16 Jan 2010 01:03:13 +0000 (01:03 +0000)]
Remove accidentally added file
svn path=/trunk/mono/; revision=149678
Miguel de Icaza [Sat, 16 Jan 2010 01:02:34 +0000 (01:02 +0000)]
Revert temporary hack
svn path=/trunk/mono/; revision=149677
Miguel de Icaza [Sat, 16 Jan 2010 01:00:22 +0000 (01:00 +0000)]
Import proper patch
svn path=/trunk/mono/; revision=149676
Miguel de Icaza [Sat, 16 Jan 2010 00:59:54 +0000 (00:59 +0000)]
Revert gcconfig.h change
svn path=/trunk/mono/; revision=149675
Gonzalo Paniagua Javier [Sat, 16 Jan 2010 00:45:08 +0000 (00:45 +0000)]
A few additions to better support PS3.
Patch by Miguel.
svn path=/trunk/mono/; revision=149670
Zoltan Varga [Mon, 26 Oct 2009 20:07:31 +0000 (20:07 +0000)]
Really fix the osx build.
svn path=/trunk/mono/; revision=144873
Zoltan Varga [Mon, 26 Oct 2009 20:00:09 +0000 (20:00 +0000)]
Fix osx build.
svn path=/trunk/mono/; revision=144869
Zoltan Varga [Sun, 25 Oct 2009 22:01:54 +0000 (22:01 +0000)]
In libgc:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
used by libgc.
In mono/mini:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* mini-posix.c (add_signal_handler): Delay the GC suspend signal while
executing a SIGSEGV handler on an altstack, since libgc can't handle that.
In mono/tests:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
used by libgc.
svn path=/trunk/mono/; revision=144828
Zoltan Varga [Tue, 29 Sep 2009 18:33:22 +0000 (18:33 +0000)]
2009-09-29 Zoltan Varga <vargaz@gmail.com>
* solaris_threads.c (GC_thr_daemon): Don't crash if GC_lookup_thread () returns
NULL.
svn path=/trunk/mono/; revision=142912
Zoltan Varga [Fri, 25 Sep 2009 21:39:38 +0000 (21:39 +0000)]
2009-09-25 Zoltan Varga <vargaz@gmail.com>
* solaris_threads.c (GC_get_orig_stack_size): Remove the annoying 'Large stack
limit' warning.
svn path=/trunk/mono/; revision=142660
Geoff Norton [Thu, 23 Jul 2009 01:28:12 +0000 (01:28 +0000)]
2009-07-20 Geoff Norton <gnorton@novell.com>
* darwin_stop_world.c: Fix the x86 version guards to use Apple's
properly defined macros.
svn path=/trunk/mono/; revision=138477
jonas [Thu, 2 Jul 2009 07:59:30 +0000 (07:59 +0000)]
2009-07-02 jonas echterhoff <jonas@unity3d.com>
svn path=/trunk/mono/; revision=137261
Neale Ferguson [Mon, 22 Jun 2009 22:40:05 +0000 (22:40 +0000)]
Define a no-op memory barrier for s390(x)
svn path=/trunk/mono/; revision=136657
Neale Ferguson [Mon, 22 Jun 2009 21:39:16 +0000 (21:39 +0000)]
Fix typo in GC_compare_and_exchange
svn path=/trunk/mono/; revision=136648
Geoff Norton [Wed, 17 Jun 2009 01:13:07 +0000 (01:13 +0000)]
2009-06-16 Geoff Norton <gnorton@novell.com>
* include/private/gcconfig.h: Disable static scanning on this platform
* misc.c: Enable platform-specific disabling of static scanning
svn path=/trunk/mono/; revision=136280
Zoltan Varga [Sat, 6 Jun 2009 20:22:57 +0000 (20:22 +0000)]
2009-06-06 Zoltan Varga <vargaz@gmail.com>
* CMakeLists.txt: Fix handling of powerpc and the selection of
threads. Delete commented out stuff.
svn path=/trunk/mono/; revision=135600
Zoltan Varga [Sat, 6 Jun 2009 20:05:21 +0000 (20:05 +0000)]
2009-06-06 Zoltan Varga <vargaz@gmail.com>
* CMakeLists.txt: CMake build file for libgc.
svn path=/trunk/mono/; revision=135599
Miguel de Icaza [Fri, 22 May 2009 21:12:34 +0000 (21:12 +0000)]
forgot this one
svn path=/trunk/mono/; revision=134619
Miguel de Icaza [Fri, 22 May 2009 21:06:06 +0000 (21:06 +0000)]
Update parameters for PS3
svn path=/trunk/mono/; revision=134618
Miguel de Icaza [Tue, 19 May 2009 00:09:19 +0000 (00:09 +0000)]
2009-05-18 Miguel de Icaza <miguel@novell.com>
* include/private/gcconfig.h: Add support for Linux on the PS3
svn path=/trunk/mono/; revision=134354
Zoltan Varga [Tue, 28 Apr 2009 18:11:37 +0000 (18:11 +0000)]
2009-04-28 Zoltan Varga <vargaz@gmail.com>
* misc.c (GC_init): Avoid casting an lvalue. Fixes part of #498692.
svn path=/trunk/mono/; revision=132874
Zoltan Varga [Sat, 25 Apr 2009 03:39:40 +0000 (03:39 +0000)]
2009-04-24 Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy Stetskovych and Ian Dichkovsky <mono@n-ix.com.ua>
* include/private/gcconfig.h: Changes to support 64-bit ABI on MIPS.
Add an additional condition for a proper defining of ALIGNMENT
and CPP_WORDSZ.
svn path=/trunk/mono/; revision=132645
Zoltan Varga [Fri, 10 Apr 2009 14:32:31 +0000 (14:32 +0000)]
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* include/private/gc_locks.h (GC_test_and_set): Merge a change from libgc
7.1's libatomic-ops to fix the ppc build with gcc 4.4.
svn path=/trunk/mono/; revision=131471
Martin Baulig [Sat, 28 Feb 2009 14:37:10 +0000 (14:37 +0000)]
Add .gitignore.
svn path=/trunk/mono/; revision=128266
Martin Baulig [Sat, 28 Feb 2009 14:36:50 +0000 (14:36 +0000)]
Create .gitignore's.
svn path=/trunk/mono/; revision=128265
Zoltan Varga [Mon, 23 Feb 2009 21:26:49 +0000 (21:26 +0000)]
2009-02-23 Zoltan Varga <vargaz@gmail.com>
* os_dep.c (GC_init_linux_data_start): Avoid the call to GC_find_limit ()
if GC_no_dls is TRUE, as it is not needed and it complicates debugging since
it causes a SIGSEGV.
svn path=/trunk/mono/; revision=127807
Zoltan Varga [Sun, 18 Jan 2009 14:44:36 +0000 (14:44 +0000)]
2009-01-18 Zoltan Varga <vargaz@gmail.com>
* include/private/gcconfig.h: Applied patch from Koushik Dutta
(koush@koushikdutta.com). Define SEARCH_FOR_DATA_START for android.
svn path=/trunk/mono/; revision=123732
Mark Probst [Tue, 18 Nov 2008 14:12:54 +0000 (14:12 +0000)]
2008-11-18 Mark Probst <mark.probst@gmail.com>
* include/private/gc_locks.h (test_and_set): The PPC64 case is
wrong, as it operates on 64 bit values, not on 32 bit ones as the
function requires. The PPC32 case is sufficient.
svn path=/trunk/mono/; revision=119156
Geoff Norton [Mon, 29 Sep 2008 14:05:48 +0000 (14:05 +0000)]
2008-09-29 Geoff Norton <gnorton@novell.com>
* include/private/gcconfig.h: Make Darwin/ARM use mmap() instead of
sbrk() for its allocator implementation.
svn path=/trunk/mono/; revision=114396
Geoff Norton [Sat, 30 Aug 2008 03:31:20 +0000 (03:31 +0000)]
2008-08-29 Geoff Norton <gnorton@novell.com>
* configure.in: Rollup our unrolled FreeBSD support so that we properly
build and compile on FreeBSD6+. (FreeBSD5 is 2004)
svn path=/trunk/mono/; revision=111966
Geoff Norton [Thu, 28 Aug 2008 20:46:26 +0000 (20:46 +0000)]
2008-08-28 Geoff Norton <gnorton@novell.com>
* darwin_stop_world.c:
* include/private/gcconfig.h: Add support for Darwin/ARM
svn path=/trunk/mono/; revision=111873
Geoff Norton [Tue, 12 Aug 2008 19:40:15 +0000 (19:40 +0000)]
2008-08-12 Geoff Norton <gnorton@novell.com>
* pthread_support.c: GCC shipped with SLES9 ppc gets confused with our current
GC_setspecific define. Unfold the define into a static inline on all platforms
except ppc where it is a static leaf function.
svn path=/trunk/mono/; revision=110289
Zoltan Varga [Sun, 10 Aug 2008 14:43:54 +0000 (14:43 +0000)]
2008-08-10 Zoltan Varga <vargaz@gmail.com>
* include/private/gc_locks.h: Add amd64 support so parallel mark works on
amd64 too.
svn path=/trunk/mono/; revision=110070
Andreas Färber [Tue, 5 Aug 2008 11:37:46 +0000 (11:37 +0000)]
2008-08-05 Andreas Faerber <andreas.faerber@web.de>
* autogen.sh: Suppress arguments warning for NOCONFIGURE.
In eglib:
2008-08-05 Andreas Faerber <andreas.faerber@web.de>
* autogen.sh: Suppress arguments warning for NOCONFIGURE.
In libgc:
2008-08-05 Andreas Faerber <andreas.faerber@web.de>
* autogen.sh: Suppress arguments warning for NOCONFIGURE.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=109666
Zoltan Varga [Sun, 3 Aug 2008 00:18:48 +0000 (00:18 +0000)]
2008-08-03 Zoltan Varga <vargaz@gmail.com>
* pthread_support.c (GC_thread_exit_proc): Null out the tls key to prevent the
dtor function from being callled, since that would read freed memory.
svn path=/trunk/mono/; revision=109502
Massimiliano Mantione [Fri, 23 May 2008 10:19:36 +0000 (10:19 +0000)]
Moved emitting "GC_EVENT_START" and "GC_EVENT_END" events from "GC_maybe_gc" to "GC_try_to_collect_inner".
svn path=/trunk/mono/; revision=103867
Zoltan Varga [Mon, 19 May 2008 14:30:46 +0000 (14:30 +0000)]
2008-05-19 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add two variables for passing CPPFLAGS/CFLAGS from the parent
configure.
svn path=/trunk/mono/; revision=103474
Kornél Pál [Mon, 28 Apr 2008 16:11:42 +0000 (16:11 +0000)]
Mono runtime: Add support for mixed-mode assemblies. Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=102052
Jonathan Chambers [Wed, 16 Apr 2008 01:07:58 +0000 (01:07 +0000)]
2008-04-15 Jonathan Chambers <joncham@gmail.com>
* include/private/gcconfig.h: Backport GC7 code to support Win64.
* win32_threads.c: Backport GC7 code to support Win64.
svn path=/trunk/mono/; revision=100798
Massimiliano Mantione [Thu, 7 Feb 2008 09:51:20 +0000 (09:51 +0000)]
* include/gc.h: (GCEventType): Added start-stop the world events.
* pthread_stop_world.c: (GC_stop_world and GC_start_world): hooked
svn path=/trunk/mono/; revision=95125
Geoff Norton [Mon, 5 Nov 2007 22:04:06 +0000 (22:04 +0000)]
2007-11-05 Geoff Norton <gnorton@novell.com>
* darwin_stop_world.c: Correct the structure name on Darwin-x86 for Leopard.
svn path=/trunk/mono/; revision=88924
Geoff Norton [Mon, 5 Nov 2007 16:20:23 +0000 (16:20 +0000)]
2007-11-05 Geoff Norton <gnorton@novell.com>
* darwin_stop_world.c: Also push ebp when pushing all stacks on Leopard
and pre-Leopard.
svn path=/trunk/mono/; revision=88880
Geoff Norton [Thu, 1 Nov 2007 19:02:09 +0000 (19:02 +0000)]
2007-11-01 Geoff Norton <gnorton@novell.com>
* darwin_stop_world.c: Handle Leopards renaming of some structure
members.
svn path=/trunk/mono/; revision=88671
Geoff Norton [Thu, 1 Nov 2007 16:29:25 +0000 (16:29 +0000)]
2007-11-01 Geoff Norton <gnorton@novell.com>
* Remove last commit. It doesn't handle x86 properly
svn path=/trunk/mono/; revision=88660
Geoff Norton [Thu, 1 Nov 2007 16:21:34 +0000 (16:21 +0000)]
2007-11-01 Geoff Norton <gnorton@novell.com>
* darwin_stop_world.c: Apple has changed ppc_thread_state_t on leopard
so we need to conditionally check for that. __DARWIN_UNIX03 is the
suggested define.
svn path=/trunk/mono/; revision=88659
Raja R Harinath [Tue, 25 Sep 2007 13:41:26 +0000 (13:41 +0000)]
unconfuse emacs font-lock
svn path=/trunk/mono/; revision=86323
Paolo Molaro [Mon, 24 Sep 2007 14:06:49 +0000 (14:06 +0000)]
Mon Sep 24 16:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
* include/private/gc_priv.h: increase the default MAX_HEAP_SECTS
value (bug#314759, bug#324318).
svn path=/trunk/mono/; revision=86254
Paolo Molaro [Tue, 11 Sep 2007 19:48:16 +0000 (19:48 +0000)]
workaround for gcc bug showing up on the buildbot.
svn path=/trunk/mono/; revision=85654
Paolo Molaro [Tue, 11 Sep 2007 13:54:40 +0000 (13:54 +0000)]
Tue Sep 11 16:22:28 CEST 2007 Paolo Molaro <lupus@ximian.com>
* pthread_support.c: export GC_thread_tls.
svn path=/trunk/mono/; revision=85637
Martin Baulig [Wed, 22 Aug 2007 16:25:40 +0000 (16:25 +0000)]
2007-08-22 Martin Baulig <martin@ximian.com>
* pthread_stop_world.c
(GC_mono_debugger_add_all_threads): Removed.
(GC_mono_debugger_get_stack_ptr): New public function.
svn path=/trunk/mono/; revision=84647
Paolo Molaro [Wed, 4 Jul 2007 15:35:46 +0000 (15:35 +0000)]
Wed Jul 4 17:46:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
* darwin_stop_world.c: use a larger array for GC_mach_threads
(it'll need to be enlarged dynamically, but it's with the world
stopped, bug #81974).
svn path=/trunk/mono/; revision=81341
Jonathan Chambers [Wed, 9 May 2007 18:21:37 +0000 (18:21 +0000)]
2007-05-09 Jonathan Chambers <joncham@gmail.com>
* win32_threads.c: If SuspendThread fails, don't abort. Instead
remove thread from GC, as this only seems to happen when thread is
terminating.
svn path=/trunk/mono/; revision=77073
Zoltan Varga [Thu, 29 Mar 2007 13:24:34 +0000 (13:24 +0000)]
2007-03-29 Zoltan Varga <vargaz@gmail.com>
* autogen.sh: Applied patch from Priit Laes <amd@store20.com>. Fix the running
of libtoolize.
* ltmain.sh config.sub config.guess: Removed, libtoolize creates them now.
svn path=/trunk/mono/; revision=75136
Jonathan Chambers [Tue, 13 Mar 2007 20:00:05 +0000 (20:00 +0000)]
2007-03-13 Jonathan Chambers <joncham@gmail.com>
* *.vcproj: Move to msvc directory.
* *.bat: Move to msvc directory.
* libgc/misc.c: Use correct string type for GetModuleHandle.
svn path=/trunk/mono/; revision=74203
Jonathan Chambers [Tue, 13 Mar 2007 18:08:42 +0000 (18:08 +0000)]
2007-03-13 Jonathan Chambers <joncham@gmail.com>
*.vcproj: Fix Release build target, add define to remove CRT warnings,
structure output folders a bit better, begin WIN64 port.
*.bat: Use output from current VS target for executable.
* icall.c: Fix environ access on windows.
* gc.h: Fix Win64 typedef.
svn path=/trunk/mono/; revision=74191
Geoff Norton [Thu, 1 Feb 2007 16:08:59 +0000 (16:08 +0000)]
2007-02-01 Geoff Norton <gnorton@customerdna.com>
* include/private/gc_pthread_redirects.h:
* include/private/gc_config_macros.h:
* include/private/gc_priv.h:
* configure.in:
* pthread_support.c
* specific.c: Support for NetBSD-CURRENT. Loosely based on NetBSD
pkgsrc patch.
svn path=/trunk/mono/; revision=72097
Robert Jordan [Fri, 22 Dec 2006 00:30:04 +0000 (00:30 +0000)]
2006-12-22 Robert Jordan <robertj@gmx.net>
* include/private/gcconfig.h, os_dep.c:
Add FreeBSD/amd64 support. Based on a FreeBSD Port Collection patch.
r=Paolo.
svn path=/trunk/mono/; revision=69915
Miguel de Icaza [Sun, 19 Nov 2006 16:42:26 +0000 (16:42 +0000)]
2006-11-19 Allan Hsu <allan@counterpop.net>
* libgc/darwin_stop_world.c, libgc/include/private/gc_priv.h,
libgc/os_dep.c: Fixes to make the GC work on OSX/Intel with XCode
2.4 (10.4u SDK and newer).
This code should work with older versions of the SDK as well.
svn path=/trunk/mono/; revision=68156
Paolo Molaro [Tue, 10 Oct 2006 15:01:25 +0000 (15:01 +0000)]
Tue Oct 10 16:58:37 CEST 2006 Paolo Molaro <lupus@ximian.com>
* darwin_stop_world.c: patch from Allan Hsu <allan@counterpop.net>
to avoid using memory just after freeing it.
svn path=/trunk/mono/; revision=66517
Zoltan Varga [Thu, 31 Aug 2006 16:02:53 +0000 (16:02 +0000)]
2006-08-31 Zoltan Varga <vargaz@freemail.hu>
* libgc.vcproj: Define GC_INSIDE_DLL on VC build too.
svn path=/trunk/mono/; revision=64628
Zoltan Varga [Fri, 18 Aug 2006 15:27:05 +0000 (15:27 +0000)]
2006-08-18 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (EXTRA_DIST): Fix make dist.
svn path=/trunk/mono/; revision=63992
Zoltan Varga [Fri, 18 Aug 2006 13:46:39 +0000 (13:46 +0000)]
2006-08-18 Zoltan Varga <vargaz@gmail.com>
* libtool.m4: Removed, should not be in SVN.
svn path=/trunk/mono/; revision=63988
Kornél Pál [Wed, 16 Aug 2006 19:42:36 +0000 (19:42 +0000)]
Converted ChangeLogs to UTF-8 and recovered incorrectly encoded characters.
svn path=/trunk/mono/; revision=63836
Zoltan Varga [Wed, 19 Jul 2006 12:07:26 +0000 (12:07 +0000)]
2006-07-19 Zoltan Varga <vargaz@gmail.com>
* configure.in: Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Beginning
of alpha support.
svn path=/trunk/mono/; revision=62744
Martin Baulig [Wed, 28 Jun 2006 20:06:07 +0000 (20:06 +0000)]
2006-06-28 Martin Baulig <martin@ximian.com>
* darwin_stop_world.c, pthread_support.c: Committing a patch from
Allan Hsu <allan@imeem.com> to fix memory leaks; see bug #78628.
svn path=/trunk/mono/; revision=62128
Zoltan Varga [Mon, 26 Jun 2006 19:52:11 +0000 (19:52 +0000)]
2006-06-26 Zoltan Varga <vargaz@gmail.com>
* solaris_threads.c: And another one.
svn path=/trunk/mono/; revision=62064
Zoltan Varga [Mon, 26 Jun 2006 18:51:20 +0000 (18:51 +0000)]
2006-06-26 Zoltan Varga <vargaz@gmail.com>
* solaris_pthreads.c: Avoid another solaris/x86 #error.
svn path=/trunk/mono/; revision=62063
Zoltan Varga [Sat, 24 Jun 2006 13:33:46 +0000 (13:33 +0000)]
2006-04-08 Zoltan Varga <vargaz@gmail.com>
* dyn_load.c: Avoid #error "large files are not supported by libelf" errors on solaris/x86.
svn path=/trunk/mono/; revision=62007
Martin Baulig [Wed, 24 May 2006 14:56:07 +0000 (14:56 +0000)]
2006-05-24 Martin Baulig <martin@ximian.com>
* doc/debugger-support.txt: Removed; this issue turned out to be
something completely different and the patch mentioned in this
file is already reverted.
svn path=/trunk/mono/; revision=61062
Zoltan Varga [Tue, 23 May 2006 15:23:37 +0000 (15:23 +0000)]
2006-05-23 Zoltan Varga <vargaz@gmail.com>
* os_dep.c (GC_unix_get_mem): Add an assert to bail out early if the runtime is
run on a machine with smaller page size than HBLKSIZE.
svn path=/trunk/mono/; revision=61001
Martin Baulig [Sat, 20 May 2006 18:40:21 +0000 (18:40 +0000)]
Revert the calloc() part of my patch.
svn path=/trunk/mono/; revision=60895
Martin Baulig [Fri, 19 May 2006 07:37:19 +0000 (07:37 +0000)]
2006-05-19 Martin Baulig <martin@ximian.com>
* include/gc.h: Don't include "libgc-mono-debugger.h".
* pthread_support.c, pthread_stop_world.c: Include it here.
svn path=/trunk/mono/; revision=60857
Martin Baulig [Wed, 17 May 2006 18:59:53 +0000 (18:59 +0000)]
2006-05-17 Martin Baulig <martin@ximian.com>
* pthread-support.c, pthread-stop-world.c: Put the debugger stuff
inside a `#if LIBGC_MONO_DEBUGGER_SUPPORTED' conditional.
svn path=/trunk/mono/; revision=60799
Martin Baulig [Wed, 17 May 2006 10:51:31 +0000 (10:51 +0000)]
2006-05-17 Martin Baulig <martin@ximian.com>
Fix a weird race condition which prevented XSP from working inside
the debugger - see doc/debugger-issues.txt for details.
* include/gc.h: Moved the "libgc-mono-debugger.h" #include down
after the gc_pthread_redirects.h one.
* include/libgc-mono-debugger.h
(GCThreadFunctions): Added `thread_created' and `thread_exited'.
(GC_mono_debugger_add_all_threads): New function prototype.
* pthread_stop_world.c (gc_thread_vtable): Allow the vtable and
any function in it be NULL; use NULL as the default vtable.
(GC_mono_debugger_add_all_threads): New public function.
* pthread_support.c (GC_new_thread): Use calloc() instead of
GC_INTERNAL_MALLOC() to allocate the `GC_thread' structure.
(GC_delete_thread): Call `gc_thread_vtable->thread_exited()'.
(GC_thr_init): Call `gc_thread_vtable->thread_created()'.
(GC_start_routine_head): Likewise; use calloc() instead of
GC_INTERNAL_MALLOC() to allocate the `start_info'.
svn path=/trunk/mono/; revision=60766
Zoltan Varga [Tue, 4 Apr 2006 22:54:25 +0000 (22:54 +0000)]
2006-04-05 Zoltan Varga <vargaz@gmail.com>
* include/private/gcconfig.h (LINUX and SPARC): Applied patch from
David S. Miller <davem@davemloft.net>: Do not
use _etest and GC_SysVGetDataStart() to figure out DATASTART.
Instead use either SEARCH_FOR_DATA_START or __environ, based
upon GLIBC version.
svn path=/trunk/mono/; revision=59048
Zoltan Varga [Fri, 24 Mar 2006 23:51:07 +0000 (23:51 +0000)]
2006-03-25 Zoltan Varga <vargaz@gmail.com>
* configure.in: Applied patch from David S. Miller <davem@davemloft.net>: Fix support for sparc/linux.
svn path=/trunk/mono/; revision=58506
Paolo Molaro [Tue, 21 Mar 2006 16:44:24 +0000 (16:44 +0000)]
Completed fix from Bryan Berg.
svn path=/trunk/mono/; revision=58225
Paolo Molaro [Mon, 20 Mar 2006 17:56:52 +0000 (17:56 +0000)]
Mon Mar 20 18:56:21 CET 2006 Paolo Molaro <lupus@ximian.com>
* include/gc.h: enable pthread redirection on darwin, too.
svn path=/trunk/mono/; revision=58193
Paolo Molaro [Thu, 9 Feb 2006 15:22:31 +0000 (15:22 +0000)]
Thu Feb 9 16:20:55 CET 2006 Paolo Molaro <lupus@ximian.com>
* os_dep.c, include/private/gcconfig.h, darwin_stop_world.c:
OSX/x86 support, mostly from Geoff Norton <gnorton@customerdna.com>.
svn path=/trunk/mono/; revision=56707
Paolo Molaro [Thu, 2 Feb 2006 09:40:09 +0000 (09:40 +0000)]
Warning fixes.
svn path=/trunk/mono/; revision=56439
Paolo Molaro [Wed, 1 Feb 2006 17:30:38 +0000 (17:30 +0000)]
Wed Feb 1 18:23:55 CET 2006 Paolo Molaro <lupus@ximian.com>
* pthread_support.c, *: back out Zoltan's patch since it's
incorrect.
The correct fix it to execute the cleanup from inside
the thread also when using the __thread var to access the
current GC_thread.
svn path=/trunk/mono/; revision=56400
Zoltan Varga [Wed, 1 Feb 2006 14:26:05 +0000 (14:26 +0000)]
2006-02-01 Zoltan Varga <vargaz@gmail.com>
* pthread_support.c (GC_thread_deregister_foreign): New public API
function to deregister a foreign thread from the GC.
(GC_destroy_thread_local): Clean up the TLS key too.
svn path=/trunk/mono/; revision=56387
Paolo Molaro [Wed, 25 Jan 2006 09:19:24 +0000 (09:19 +0000)]
Remove test checks.
svn path=/trunk/mono/; revision=56035
Paolo Molaro [Tue, 24 Jan 2006 11:37:10 +0000 (11:37 +0000)]
Tue Jan 24 12:34:06 CET 2006 Paolo Molaro <lupus@ximian.com>
* *: update from upstream changes.
svn path=/trunk/mono/; revision=55979
Martin Baulig [Sat, 21 Jan 2006 19:42:44 +0000 (19:42 +0000)]
Don't install libgc-mono-debugger.h and mono-debug-debugger.h
svn path=/trunk/mono/; revision=55888
Martin Baulig [Sat, 21 Jan 2006 14:43:12 +0000 (14:43 +0000)]
2006-01-21 Martin Baulig <martin@ximian.com>
* include/libgc-mono-debugger.h: Call the conditional
`_IN_THE_MONO_DEBUGGER', not `IN_MONO_DEBUGGER'.
svn path=/trunk/mono/; revision=55879
Zoltan Varga [Wed, 11 Jan 2006 20:56:07 +0000 (20:56 +0000)]
2006-01-11 Zoltan Varga <vargaz@gmail.com>
* include/private/gcconfig.h: Undef _FILE_OFFSET_BITS on sparc.
svn path=/trunk/mono/; revision=55398
Geoff Norton [Tue, 3 Jan 2006 19:03:23 +0000 (19:03 +0000)]
2006-01-03 Geoff Norton <gnorton@customerdna.com>
* darwin_stop_world.c: Merge a patch from Bruce Mitchener that fixes a small
leak on OS X.
svn path=/trunk/mono/; revision=55018
Zoltan Varga [Mon, 26 Dec 2005 18:45:29 +0000 (18:45 +0000)]
2005-12-26 Zoltan Varga <vargaz@gmail.com>
* include/private/gcconfig.h: Disable PROC_VDB on solaris/x86 as it
doesn't seem to work.
svn path=/trunk/mono/; revision=54854
Todd Berman [Wed, 7 Dec 2005 05:42:46 +0000 (05:42 +0000)]
2005-12-06 Todd Berman <tberman@off.net>
* pthread_support.c (GC_thread_register_foreign): Wrap a GC_printf1
inside a #ifdef DEBUG_THREADS like the others. Based on a patch from
Bryan Berg (bryan AT imeem DOT com).
svn path=/trunk/mono/; revision=54020
Miguel de Icaza [Tue, 11 Oct 2005 18:43:08 +0000 (18:43 +0000)]
Backport\n2005-10-11 Zoltan Varga <vargaz@gmail.com>
* pthread_support.c (GC_thread_deregister_foreign): Make this return
void instead of void*.
svn path=/branches/mono-1-1-9/mono/; revision=51621