Age | Commit message (Collapse) | Author |
|
Mono-specific libgc functionality has been recently added to BDWGC.
This commit changes API of included Boehm GC to match that of the
external GC.
* Renaming:
- GCEventType -> GC_EventType
- GC_get_restart_signal -> GC_get_thr_restart_signal
- GC_toggleref_register_callback -> GC_set_toggleref_func
- GC_set_finalizer_notify_proc -> GC_set_await_finalize_proc
* Replace global variable with a setter:
- GC_notify_event -> GC_set_on_collection_event() (acquires GC lock)
* Foreign threads registration:
- add GC_allow_register_threads() (no-op for GC v6, called by
mono_gc_base_init)
- add GC_SUCCESS, GC_DUPLICATE, GC_NO_MEMORY, GC_UNIMPLEMENTED macros
- add struct GC_stack_base
- replace GC_thread_register_foreign(void*) with
GC_register_my_thread(struct GC_stack_base)
- define GC_register_my_thread also for Solaris and Win32
- GC_register_my_thread returns GC_DUPLICATE if already registered
* Toggle-ref callback declaration change:
- add GC_ToggleRefStatus (enum type)
- callback returns GC_ToggleRefStatus instead of int
* Toggle-ref addition status checked:
- GC_toggleref_add return type changed from void to int
- GC_toggleref_add returns GC_SUCCESS or GC_NO_MEMORY
- static ensure_toggleref_capacity() returns FALSE if GC MALLOC failed
- call g_error() if GC_toggleref_add failed
* Conditional public function declaration:
- wrap GC_DllMain declaration into ifdef GC_INSIDE_DLL
- define GC_INSIDE_DLL prior to include gc.h
|
|
|
|
- fix compile/runtime issues caused by upstream changes
- add NaCl glibc support
- various changes to support running tests in NaCl glibc
from 'make check'
|
|
|
|
Patch by Miguel.
svn path=/trunk/mono/; revision=149670
|
|
svn path=/trunk/mono/; revision=144873
|
|
svn path=/trunk/mono/; revision=144869
|
|
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
|
|
* 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
|
|
* misc.c (GC_init): Avoid casting an lvalue. Fixes part of #498692.
svn path=/trunk/mono/; revision=132874
|
|
* *.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
|
|
* *: update from upstream changes.
svn path=/trunk/mono/; revision=55979
|
|
svn path=/trunk/mono/; revision=35994
|