Commit Graph
34 Commits
Author SHA1 Message Date
Paolo Molaro 826a15b38e Mon Sep 24 16:15:47 CEST 2007 Paolo Molaro <[email protected]>
* include/private/gc_priv.h: increase the default MAX_HEAP_SECTS
	value (bug#314759, bug#324318).


svn path=/trunk/mono/; revision=86254
2007-09-24 14:06:49 +00:00
Martin Baulig baf32dc678 2007-08-22 Martin Baulig <[email protected]>
* 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
2007-08-22 16:25:40 +00:00
Jonathan Chambers 337b6aedc7 2007-03-13 Jonathan Chambers <[email protected]>
*.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
2007-03-13 18:08:42 +00:00
Geoff Norton 44e57e9268 2007-02-01 Geoff Norton <[email protected]>
* 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
2007-02-01 16:08:59 +00:00
Robert Jordan f10103a04a 2006-12-22 Robert Jordan <[email protected]>
* 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
2006-12-22 00:30:04 +00:00
Miguel de Icaza c71714cbda 2006-11-19 Allan Hsu <[email protected]>
* 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
2006-11-19 16:42:26 +00:00
Martin Baulig 6820792214 2006-05-19 Martin Baulig <[email protected]>
* 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
2006-05-19 07:37:19 +00:00
Martin Baulig 4046800220 2006-05-17 Martin Baulig <[email protected]>
* 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
2006-05-17 18:59:53 +00:00
Martin Baulig 1663a14d56 2006-05-17 Martin Baulig <[email protected]>
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
2006-05-17 10:51:31 +00:00
Zoltan Varga f9183555d4 2006-04-05 Zoltan Varga <[email protected]>
* include/private/gcconfig.h (LINUX and SPARC): Applied patch from 
	David S. Miller <[email protected]>: 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
2006-04-04 22:54:25 +00:00
Paolo Molaro 1e34b296bc Completed fix from Bryan Berg.
svn path=/trunk/mono/; revision=58225
2006-03-21 16:44:24 +00:00
Paolo Molaro 9a7815d674 Mon Mar 20 18:56:21 CET 2006 Paolo Molaro <[email protected]>
* include/gc.h: enable pthread redirection on darwin, too.


svn path=/trunk/mono/; revision=58193
2006-03-20 17:56:52 +00:00
Paolo Molaro ea6ba82496 Thu Feb 9 16:20:55 CET 2006 Paolo Molaro <[email protected]>
* os_dep.c, include/private/gcconfig.h, darwin_stop_world.c:
	OSX/x86 support, mostly from Geoff Norton <[email protected]>.


svn path=/trunk/mono/; revision=56707
2006-02-09 15:22:31 +00:00
Paolo Molaro b3d2aabe30 Wed Feb 1 18:23:55 CET 2006 Paolo Molaro <[email protected]>
* 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
2006-02-01 17:30:38 +00:00
Zoltan Varga b9d938c5f3 2006-02-01 Zoltan Varga <[email protected]>
* 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
2006-02-01 14:26:05 +00:00
Paolo Molaro d58dfa185a Tue Jan 24 12:34:06 CET 2006 Paolo Molaro <[email protected]>
* *: update from upstream changes.


svn path=/trunk/mono/; revision=55979
2006-01-24 11:37:10 +00:00
Martin Baulig e16eba9494 Don't install libgc-mono-debugger.h and mono-debug-debugger.h
svn path=/trunk/mono/; revision=55888
2006-01-21 19:42:44 +00:00
Martin Baulig 0e29dd2767 2006-01-21 Martin Baulig <[email protected]>
* include/libgc-mono-debugger.h: Call the conditional
	`_IN_THE_MONO_DEBUGGER', not `IN_MONO_DEBUGGER'.


svn path=/trunk/mono/; revision=55879
2006-01-21 14:43:12 +00:00
Zoltan Varga b46551e8ee 2006-01-11 Zoltan Varga <[email protected]>
* include/private/gcconfig.h: Undef _FILE_OFFSET_BITS on sparc.

svn path=/trunk/mono/; revision=55398
2006-01-11 20:56:07 +00:00
Zoltan Varga 7264b4b4b4 2005-12-26 Zoltan Varga <[email protected]>
* include/private/gcconfig.h: Disable PROC_VDB on solaris/x86 as it
	doesn't seem to work.

svn path=/trunk/mono/; revision=54854
2005-12-26 18:45:29 +00:00
Zoltan Varga 24edeb948c 2005-10-11 Zoltan Varga <[email protected]>
* pthread_support.c (GC_thread_deregister_foreign): Make this return
	void instead of void*.

svn path=/trunk/mono/; revision=51613
2005-10-11 17:33:27 +00:00
Paolo Molaro fde24e2072 Mon Aug 22 10:41:41 BST 2005 Paolo Molaro <[email protected]>
* include/private/gc_locks.h: make gcc generate correct code for swp
	(patch by [email protected], Tomi Valkeinen).


svn path=/trunk/mono/; revision=48647
2005-08-22 09:21:51 +00:00
Zoltan Varga dfc472d352 2005-08-20 Zoltan Varga <[email protected]>
* include/private/gc_locks.h: Fix compilation of GC_test_and_set on IA64 with gcc-3.3.5.

svn path=/trunk/mono/; revision=48600
2005-08-20 17:00:58 +00:00
Paolo Molaro b211155566 Thu Aug 18 18:08:54 CEST 2005 Paolo Molaro <[email protected]>
* include/private/gcconfig.h: use LINUX_STACKBOTTOM on ARM Linux.


svn path=/trunk/mono/; revision=48505
2005-08-18 16:10:05 +00:00
Paolo Molaro 20c942a6d2 Mon Aug 1 16:49:45 CEST 2005 Paolo Molaro <[email protected]>
* include/private/pthread_support.h, pthread_support.c: added
	patch to support registering new threads at runtime (from
	Michael Meeks <[email protected]>).


svn path=/trunk/mono/; revision=47889
2005-08-01 14:51:35 +00:00
Zoltan Varga 85e203a971 2005-06-22 Zoltan Varga <[email protected]>
* include/private/gcconfig.h: Fix amd64 build.

svn path=/trunk/mono/; revision=46355
2005-06-22 09:03:45 +00:00
Zoltan Varga 82ae7ea351 2005-04-11 Zoltan Varga <[email protected]>
* include/private/gcconfig.h configure.in os_dep.c dyn_load.c: 
	Applied some freebsd patch from Bill Middleton <[email protected]>.

svn path=/trunk/mono/; revision=42786
2005-04-11 14:12:45 +00:00
Zoltan Varga 0b521f3aba 2005-04-06 Zoltan Varga <[email protected]>
* include/gc_pthread_redirects.h (pthread_detach): Override pthread_detach too.

	* solaris_pthreads.c (GC_pthread_detach): Override pthread_detach too. Fixes
	#74223.

svn path=/trunk/mono/; revision=42606
2005-04-06 14:04:22 +00:00
Zoltan Varga c3c60a6530 2005-03-29 Zoltan Varga <[email protected]>
* os_dep.c: Add ability to fall back to mmap-ing memory when sbrk
	fails.

	* include/private/gcconfig.h: Enable FALLBACK_TO_MMAP on amd64. Fixes
	#73882.

svn path=/trunk/mono/; revision=42356
2005-03-29 21:27:09 +00:00
Zoltan Varga 06ed27993a 2005-03-03 Zoltan Varga <[email protected]>
* include/gc.h pthread_support.c win32_threads.: Add 
	GC_thread_is_registered API function.

svn path=/trunk/mono/; revision=41410
2005-03-03 21:09:34 +00:00
Ben Maurer 261af5bf28 remove .cvsignore, as this is not used anymore
svn path=/trunk/mono/; revision=40731
2005-02-16 04:43:00 +00:00
Geoff Norton 399f5d64ca 2005-02-07 Geoff Norton <[email protected]>
* include/private/gc_priv.h: Bump the max root sets to 1024 



svn path=/trunk/mono/; revision=40249
2005-02-07 17:00:32 +00:00
Paolo Molaro 8cb052c177 Mon Jan 24 16:39:42 CET 2005 Paolo Molaro <[email protected]>
* alloc.c, include/gc.h: add event notification, mostly from 
	a patch by Ben Maurer.


svn path=/trunk/mono/; revision=39416
2005-01-24 15:29:23 +00:00
Miguel de Icaza 3cca3c82b8 Add libgc to mono
svn path=/trunk/mono/; revision=35994
2004-11-11 02:30:00 +00:00