[svn:parrot] r43365 - branches/boehm_gc/include/parrot

bacek at svn.parrot.org bacek at svn.parrot.org
Fri Jan 1 21:21:38 UTC 2010


Author: bacek
Date: Fri Jan  1 21:21:38 2010
New Revision: 43365
URL: https://trac.parrot.org/parrot/changeset/43365

Log:
Switch back to MS as default GS. Add bit of documentation to USE_FIXED_SIZE_ALLOCATOR

Modified:
   branches/boehm_gc/include/parrot/settings.h

Modified: branches/boehm_gc/include/parrot/settings.h
==============================================================================
--- branches/boehm_gc/include/parrot/settings.h	Fri Jan  1 21:21:22 2010	(r43364)
+++ branches/boehm_gc/include/parrot/settings.h	Fri Jan  1 21:21:38 2010	(r43365)
@@ -30,11 +30,14 @@
  * MS  -- stop-the-world mark & sweep
  * INF -- infinite memory "collector"
  */
-#define PARROT_GC_DEFAULT_TYPE BOEHM_GC
+#define PARROT_GC_DEFAULT_TYPE MS
 
 
 /* Set to 1 if we want to use the fixed-size allocator. Set to 0 if we want
-   to allocate these things using mem_sys_allocate instead */
+   to allocate these things using mem_sys_allocate instead.
+   When PARROT_GC_DEFAULT_TYPE set to BOEHM_GC it's better to set it to 0.
+   Otherwise Boehm will not collect memory from FixedSizeAllocator which leads
+   to "memory leaks" */
 #define PARROT_GC_USE_FIXED_SIZE_ALLOCATOR 1
 
 /*


More information about the parrot-commits mailing list