[svn:parrot] r49050 - branches/string_gc_encapsulate/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu Sep 16 10:59:16 UTC 2010
Author: bacek
Date: Thu Sep 16 10:59:16 2010
New Revision: 49050
URL: https://trac.parrot.org/parrot/changeset/49050
Log:
Broke the build - split String_GC out of Memory_Pools.
Not really but it's not accessible directly anymore.
Modified:
branches/string_gc_encapsulate/src/gc/gc_private.h
Modified: branches/string_gc_encapsulate/src/gc/gc_private.h
==============================================================================
--- branches/string_gc_encapsulate/src/gc/gc_private.h Thu Sep 16 10:58:56 2010 (r49049)
+++ branches/string_gc_encapsulate/src/gc/gc_private.h Thu Sep 16 10:59:16 2010 (r49050)
@@ -165,6 +165,8 @@
*/
} GC_Subsystem;
+
+
/* This header structure describes a block of memory that is part of a
variable-size pool. The allocatable memory follows the header. */
@@ -290,15 +292,22 @@
} Fixed_Size_Pool;
+/* String GC subsystem data */
+typedef struct String_GC {
+ Variable_Size_Pool *memory_pool; /* General memory pool. */
+ Variable_Size_Pool *constant_string_pool; /* Constant string pool (not
+ compacted */
+} String_GC;
+
/* This structure acts as the root for all the various memory pools:
variable-sized, fixed-size, and PMC attributes. It also contains
various GC-related items. It hangs off the Interp structure. */
typedef struct Memory_Pools {
/* Pointers to pools */
- Variable_Size_Pool *memory_pool; /* General memory pool. */
- Variable_Size_Pool *constant_string_pool; /* Constant string pool (not
- compacted). */
+ String_GC string_gc; /* TEMPORARY */
+ /* String GC susbsytem pointer */
+
Fixed_Size_Pool *string_header_pool; /* String header pool. */
Fixed_Size_Pool *pmc_pool; /* PMC object pool. */
Fixed_Size_Pool *constant_pmc_pool; /* And one for constant PMCs. */
@@ -357,6 +366,7 @@
} Memory_Pools;
+
/* HEADERIZER BEGIN: src/gc/system.c */
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
More information about the parrot-commits
mailing list