[svn:parrot] r47139 - branches/gc_massacre/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun May 30 09:37:54 UTC 2010
Author: bacek
Date: Sun May 30 09:37:54 2010
New Revision: 47139
URL: https://trac.parrot.org/parrot/changeset/47139
Log:
Uncomment GC_Subsystem.gc_private. We'll need it.
Modified:
branches/gc_massacre/src/gc/gc_private.h
Modified: branches/gc_massacre/src/gc/gc_private.h
==============================================================================
--- branches/gc_massacre/src/gc/gc_private.h Sun May 30 09:37:10 2010 (r47138)
+++ branches/gc_massacre/src/gc/gc_private.h Sun May 30 09:37:54 2010 (r47139)
@@ -115,12 +115,15 @@
PMC* (*allocate_pmc_header)(PARROT_INTERP, UINTVAL flags);
void (*free_pmc_header)(PARROT_INTERP, PMC *);
+ void (*mark_pmc_header)(PARROT_INTERP, PMC *);
STRING* (*allocate_string_header)(PARROT_INTERP, UINTVAL flags);
- void (*free_string_header)(PARROT_INTERP, STRING*);
+ void (*free_string_header)(PARROT_INTERP, STRING*);
+ void (*mark_string_header)(PARROT_INTERP, STRING*);
Buffer* (*allocate_bufferlike_header)(PARROT_INTERP, size_t size);
- void (*free_bufferlike_header)(PARROT_INTERP, Buffer*, size_t size);
+ void (*free_bufferlike_header)(PARROT_INTERP, Buffer*, size_t size);
+ void (*mark_bufferlike_header)(PARROT_INTERP, Buffer*);
void* (*allocate_pmc_attributes)(PARROT_INTERP, PMC *);
void (*free_pmc_attributes)(PARROT_INTERP, PMC *);
@@ -157,11 +160,9 @@
*These will be called via the GC API functions Parrot_gc_func_name
*e.g. read barrier && write barrier hooks can go here later ...*/
- /* Holds system-specific data structures
- * unused right now, but this is where it should go if we need them ...
- union {
- } gc_private;
- */
+ /* Holds system-specific data structures */
+ void * gc_private;
+
} GC_Subsystem;
typedef struct Memory_Block {
More information about the parrot-commits
mailing list