]> granicus.if.org Git - gc/log
gc
13 years agoAdd support for the internal boehm-gc on OpenBSD
Robert Nagy [Mon, 29 Nov 2010 14:53:41 +0000 (15:53 +0100)]
Add support for the internal boehm-gc on OpenBSD

13 years agoMake libgc use dolt too.
Zoltan Varga [Mon, 15 Nov 2010 13:56:13 +0000 (14:56 +0100)]
Make libgc use dolt too.

13 years agoRemove the unused and incomplete CMake build scripts for now.
Zoltan Varga [Sun, 14 Nov 2010 00:21:43 +0000 (01:21 +0100)]
Remove the unused and incomplete CMake build scripts for now.

13 years agomake -jX should work in libgc/ now.
Gonzalo Paniagua Javier [Fri, 12 Nov 2010 22:37:28 +0000 (17:37 -0500)]
make -jX should work in libgc/ now.

13 years agoAvoid calling sem_post on a uninitialized semaphore during thread attach, it works...
Zoltan Varga [Sun, 17 Oct 2010 23:55:41 +0000 (01:55 +0200)]
Avoid calling sem_post on a uninitialized semaphore during thread attach, it works under linux, but fails under *bsd. Fixes #647248.

13 years ago[android] pthread_kill cannot be used safely on android
Geoff Norton [Thu, 14 Oct 2010 16:53:01 +0000 (12:53 -0400)]
[android] pthread_kill cannot be used safely on android

Android's fork() function does not properly update the
pthread_internal_t->threadid variable to point to the tid of the
fork()'d thread, and instead still points to the pid of zygote.
As a result we need to track the android tid's manually since
gettid() is sane, and use an alternate to pthread_kill on android
Additionally, disable sgen support on android until the same
work has been done there

r: kumpera, vargaz

13 years agoUndo mach_dep change.
Gonzalo Paniagua Javier [Fri, 8 Oct 2010 15:55:31 +0000 (11:55 -0400)]
Undo mach_dep change.

13 years agoAllow -jX when compiling libgc
Gonzalo Paniagua Javier [Fri, 8 Oct 2010 14:39:21 +0000 (10:39 -0400)]
Allow -jX when compiling libgc

Add mach_dep.c to the sources.
Fixes bug #644933.
Thanks to Mathias Ruediger.

13 years agoWork around Android's pthread/kernel_id/fork bug to fix mono multithreading and GC_st...
Koushik Dutta [Thu, 30 Sep 2010 04:15:42 +0000 (21:15 -0700)]
Work around Android's pthread/kernel_id/fork bug to fix mono multithreading and GC_stop_world in processes that have been forked.

13 years agoAvoid warnings on machines with cpus > 16.
Zoltan Varga [Thu, 26 Aug 2010 14:17:50 +0000 (16:17 +0200)]
Avoid warnings on machines with cpus > 16.

13 years agoAdd --quiet-build (on by default)
Gonzalo Paniagua Javier [Wed, 25 Aug 2010 16:30:25 +0000 (12:30 -0400)]
Add --quiet-build (on by default)

13 years agoDont track unneeded registers for amd64.
Geoff Norton [Tue, 27 Jul 2010 17:14:43 +0000 (13:14 -0400)]
Dont track unneeded registers for amd64.

2010-07-27  Geoff Norton  <gnorton@novell.com>

        * darwin_stop_world.c: Dont track unneeded registers for amd64.

13 years agoFix a few cases of mixed line-endings
Raja R Harinath [Sun, 25 Jul 2010 20:19:54 +0000 (01:49 +0530)]
Fix a few cases of mixed line-endings

This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.

13 years agoEOL handling
Raja R Harinath [Sun, 25 Jul 2010 14:39:25 +0000 (20:09 +0530)]
EOL handling

This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.

13 years ago2010-06-29 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 29 Jun 2010 19:53:51 +0000 (19:53 +0000)]
2010-06-29  Geoff Norton  <gnorton@novell.com>

* include/private/gc_locks.h: Implement armv6+ variants of
GC_test_and_set

svn path=/trunk/mono/; revision=159690

13 years agofix the mac ppc build
Geoff Norton [Thu, 17 Jun 2010 17:21:53 +0000 (17:21 +0000)]
fix the mac ppc build

svn path=/trunk/mono/; revision=159077

13 years ago2010-06-14 Geoff Norton <gnorton@novell.com>
Geoff Norton [Mon, 14 Jun 2010 17:39:53 +0000 (17:39 +0000)]
2010-06-14  Geoff Norton  <gnorton@novell.com>

* dyn_load.c: Fix one other place where l_addr could be null on
bionic.

svn path=/trunk/mono/; revision=158891

13 years ago2010-05-31 Geoff Norton <gnorton@novell.com>
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

13 years ago2010-04-23 Geoff Norton <gnorton@novell.com>
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

13 years ago * include/private/gcconfig.h: Android platforms are built atop Linux,
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

13 years ago2010-03-09 Zoltan Varga <vargaz@gmail.com>
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

13 years agoIn libgc/:
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

13 years ago2010-02-22 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2010-01-29 Geoff Norton <gnorton@novell.com>
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

13 years agoremove DOS newlines
Miguel de Icaza [Wed, 20 Jan 2010 21:35:58 +0000 (21:35 +0000)]
remove DOS newlines

svn path=/trunk/mono/; revision=149932

13 years agoAdd 2 empty functions needed to compile in the PS3.
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

13 years agoRemove accidentally added file
Miguel de Icaza [Sat, 16 Jan 2010 01:03:13 +0000 (01:03 +0000)]
Remove accidentally added file

svn path=/trunk/mono/; revision=149678

13 years agoRevert temporary hack
Miguel de Icaza [Sat, 16 Jan 2010 01:02:34 +0000 (01:02 +0000)]
Revert temporary hack

svn path=/trunk/mono/; revision=149677

13 years agoImport proper patch
Miguel de Icaza [Sat, 16 Jan 2010 01:00:22 +0000 (01:00 +0000)]
Import proper patch

svn path=/trunk/mono/; revision=149676

13 years agoRevert gcconfig.h change
Miguel de Icaza [Sat, 16 Jan 2010 00:59:54 +0000 (00:59 +0000)]
Revert gcconfig.h change

svn path=/trunk/mono/; revision=149675

13 years agoA few additions to better support PS3.
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

13 years agoReally fix the osx build.
Zoltan Varga [Mon, 26 Oct 2009 20:07:31 +0000 (20:07 +0000)]
Really fix the osx build.

svn path=/trunk/mono/; revision=144873

13 years agoFix osx build.
Zoltan Varga [Mon, 26 Oct 2009 20:00:09 +0000 (20:00 +0000)]
Fix osx build.

svn path=/trunk/mono/; revision=144869

13 years agoIn libgc:
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

13 years ago2009-09-29 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2009-09-25 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2009-07-20 Geoff Norton <gnorton@novell.com>
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

13 years ago2009-07-02 jonas echterhoff <jonas@unity3d.com>
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

13 years agoDefine a no-op memory barrier for s390(x)
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

13 years agoFix typo in GC_compare_and_exchange
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

13 years ago2009-06-16 Geoff Norton <gnorton@novell.com>
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

13 years ago2009-06-06 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2009-06-06 Zoltan Varga <vargaz@gmail.com>
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

13 years agoforgot this one
Miguel de Icaza [Fri, 22 May 2009 21:12:34 +0000 (21:12 +0000)]
forgot this one

svn path=/trunk/mono/; revision=134619

13 years agoUpdate parameters for PS3
Miguel de Icaza [Fri, 22 May 2009 21:06:06 +0000 (21:06 +0000)]
Update parameters for PS3

svn path=/trunk/mono/; revision=134618

13 years ago2009-05-18 Miguel de Icaza <miguel@novell.com>
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

13 years ago2009-04-28 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2009-04-24 Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy Stetskovych...
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

13 years ago2009-04-10 Zoltan Varga <vargaz@gmail.com>
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

13 years agoAdd .gitignore.
Martin Baulig [Sat, 28 Feb 2009 14:37:10 +0000 (14:37 +0000)]
Add .gitignore.

svn path=/trunk/mono/; revision=128266

13 years agoCreate .gitignore's.
Martin Baulig [Sat, 28 Feb 2009 14:36:50 +0000 (14:36 +0000)]
Create .gitignore's.

svn path=/trunk/mono/; revision=128265

13 years ago2009-02-23 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2009-01-18 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2008-11-18 Mark Probst <mark.probst@gmail.com>
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

13 years ago2008-09-29 Geoff Norton <gnorton@novell.com>
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

13 years ago2008-08-29 Geoff Norton <gnorton@novell.com>
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

13 years ago2008-08-28 Geoff Norton <gnorton@novell.com>
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

13 years ago2008-08-12 Geoff Norton <gnorton@novell.com>
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

13 years ago2008-08-10 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2008-08-05 Andreas Faerber <andreas.faerber@web.de>
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

13 years ago2008-08-03 Zoltan Varga <vargaz@gmail.com>
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

13 years agoMoved emitting "GC_EVENT_START" and "GC_EVENT_END" events from "GC_maybe_gc" to ...
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

13 years ago2008-05-19 Zoltan Varga <vargaz@gmail.com>
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

13 years agoMono runtime: Add support for mixed-mode assemblies. Contributed under MIT/X11 license.
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

13 years ago2008-04-15 Jonathan Chambers <joncham@gmail.com>
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

13 years ago * include/gc.h: (GCEventType): Added start-stop the world events.
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

13 years ago2007-11-05 Geoff Norton <gnorton@novell.com>
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

13 years ago2007-11-05 Geoff Norton <gnorton@novell.com>
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

13 years ago2007-11-01 Geoff Norton <gnorton@novell.com>
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

13 years ago2007-11-01 Geoff Norton <gnorton@novell.com>
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

13 years ago2007-11-01 Geoff Norton <gnorton@novell.com>
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

13 years agounconfuse emacs font-lock
Raja R Harinath [Tue, 25 Sep 2007 13:41:26 +0000 (13:41 +0000)]
unconfuse emacs font-lock

svn path=/trunk/mono/; revision=86323

13 years agoMon Sep 24 16:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
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

13 years agoworkaround for gcc bug showing up on the buildbot.
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

13 years agoTue Sep 11 16:22:28 CEST 2007 Paolo Molaro <lupus@ximian.com>
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

13 years ago2007-08-22 Martin Baulig <martin@ximian.com>
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

13 years agoWed Jul 4 17:46:19 CEST 2007 Paolo Molaro <lupus@ximian.com>
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

13 years ago2007-05-09 Jonathan Chambers <joncham@gmail.com>
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

13 years ago2007-03-29 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2007-03-13 Jonathan Chambers <joncham@gmail.com>
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

13 years ago2007-03-13 Jonathan Chambers <joncham@gmail.com>
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

13 years ago2007-02-01 Geoff Norton <gnorton@customerdna.com>
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

13 years ago2006-12-22 Robert Jordan <robertj@gmx.net>
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

13 years ago2006-11-19 Allan Hsu <allan@counterpop.net>
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

13 years agoTue Oct 10 16:58:37 CEST 2006 Paolo Molaro <lupus@ximian.com>
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

13 years ago2006-08-31 Zoltan Varga <vargaz@freemail.hu>
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

13 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2006-08-18 Zoltan Varga <vargaz@gmail.com>
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

13 years agoConverted ChangeLogs to UTF-8 and recovered incorrectly encoded characters.
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

13 years ago2006-07-19 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2006-06-28 Martin Baulig <martin@ximian.com>
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

13 years ago2006-06-26 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2006-06-26 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2006-04-08 Zoltan Varga <vargaz@gmail.com>
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

13 years ago2006-05-24 Martin Baulig <martin@ximian.com>
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

13 years ago2006-05-23 Zoltan Varga <vargaz@gmail.com>
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

13 years agoRevert the calloc() part of my patch.
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

13 years ago2006-05-19 Martin Baulig <martin@ximian.com>
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

13 years ago2006-05-17 Martin Baulig <martin@ximian.com>
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

13 years ago2006-05-17 Martin Baulig <martin@ximian.com>
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