develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35366 - in branches/pdd09gc_part2: . config/gen/makefiles docs include/parrot src src/gc

From:
chromatic
Date:
January 10, 2009 15:01
Subject:
[svn:parrot] r35366 - in branches/pdd09gc_part2: . config/gen/makefiles docs include/parrot src src/gc
Message ID:
20090110230111.C567FCB9F9@x12.develooper.com
Author: chromatic
Date: Sat Jan 10 15:01:10 2009
New Revision: 35366

Added:
   branches/pdd09gc_part2/include/parrot/gc_pools.h   (contents, props changed)
      - copied, changed from r35364, /branches/pdd09gc_part2/include/parrot/headers.h
   branches/pdd09gc_part2/src/gc/pools.c   (contents, props changed)
      - copied, changed from r35364, /branches/pdd09gc_part2/src/headers.c
Removed:
   branches/pdd09gc_part2/include/parrot/headers.h
   branches/pdd09gc_part2/src/headers.c
Modified:
   branches/pdd09gc_part2/MANIFEST
   branches/pdd09gc_part2/config/gen/makefiles/root.in
   branches/pdd09gc_part2/docs/memory_internals.pod
   branches/pdd09gc_part2/include/parrot/gc_api.h
   branches/pdd09gc_part2/include/parrot/parrot.h

Log:
[GC] Moved src/headers.c to src/gc/pools.c and include/parrot/headers.h to
include/parrot/gc_pools.h.

Re-ran headerizer.


Modified: branches/pdd09gc_part2/MANIFEST
==============================================================================
--- branches/pdd09gc_part2/MANIFEST	(original)
+++ branches/pdd09gc_part2/MANIFEST	Sat Jan 10 15:01:10 2009
@@ -916,7 +916,7 @@
 include/parrot/global.h                                     [main]include
 include/parrot/global_setup.h                               [main]include
 include/parrot/hash.h                                       [main]include
-include/parrot/headers.h                                    [main]include
+include/parrot/gc_pools.h                                   [main]include
 include/parrot/hll.h                                        [main]include
 include/parrot/imcc.h                                       [main]include
 include/parrot/inter_call.h                                 [main]include
@@ -2978,7 +2978,7 @@
 src/global.c                                                []
 src/global_setup.c                                          []
 src/hash.c                                                  []
-src/headers.c                                               []
+src/gc/pools.c                                              []
 src/hll.c                                                   []
 src/inter_call.c                                            []
 src/inter_cb.c                                              []

Modified: branches/pdd09gc_part2/config/gen/makefiles/root.in
==============================================================================
--- branches/pdd09gc_part2/config/gen/makefiles/root.in	(original)
+++ branches/pdd09gc_part2/config/gen/makefiles/root.in	Sat Jan 10 15:01:10 2009
@@ -387,12 +387,12 @@
     $(SRC_DIR)/gc/generational_ms$(O) \
     $(SRC_DIR)/gc/incremental_ms$(O) \
     $(SRC_DIR)/gc/memory$(O) \
+    $(SRC_DIR)/gc/pools$(O) \
     $(SRC_DIR)/gc/register$(O) \
     $(SRC_DIR)/gc/mark_sweep$(O) \
     $(SRC_DIR)/global$(O) \
     $(SRC_DIR)/global_setup$(O) \
     $(SRC_DIR)/hash$(O) \
-    $(SRC_DIR)/headers$(O) \
     $(SRC_DIR)/hll$(O) \
     $(SRC_DIR)/inter_call$(O)  \
     $(SRC_DIR)/inter_cb$(O)  \
@@ -1073,16 +1073,16 @@
 
 $(SRC_DIR)/gc/api$(O) : $(GENERAL_H_FILES)
 
+$(SRC_DIR)/gc/generational_ms$(O) : $(GENERAL_H_FILES)
+
 $(SRC_DIR)/gc/incremental_ms$(O) : $(GENERAL_H_FILES)
 
-$(SRC_DIR)/gc/generational_ms$(O) : $(GENERAL_H_FILES)
+$(SRC_DIR)/gc/pools$(O) : $(GENERAL_H_FILES)
 
 $(SRC_DIR)/gc/resources$(O) : $(GENERAL_H_FILES)
 
 $(SRC_DIR)/gc/res_lea$(O) : $(GENERAL_H_FILES)
 
-$(SRC_DIR)/headers$(O) : $(GENERAL_H_FILES)
-
 $(SRC_DIR)/hll$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/hll.str
 
 $(SRC_DIR)/platform$(O) : $(GENERAL_H_FILES)

Modified: branches/pdd09gc_part2/docs/memory_internals.pod
==============================================================================
--- branches/pdd09gc_part2/docs/memory_internals.pod	(original)
+++ branches/pdd09gc_part2/docs/memory_internals.pod	Sat Jan 10 15:01:10 2009
@@ -258,7 +258,7 @@
 
 =head1 FILES
 
-mark_sweep.[ch], headers.c, resources.[ch], res_lea.c, src/gc/api.c,
+mark_sweep.[ch], src/gc/pools.c, resources.[ch], res_lea.c, src/gc/api.c,
 string.[ch], pobj.h. Other garbage collector implementations may use separate
 files as well.
 

Modified: branches/pdd09gc_part2/include/parrot/gc_api.h
==============================================================================
--- branches/pdd09gc_part2/include/parrot/gc_api.h	(original)
+++ branches/pdd09gc_part2/include/parrot/gc_api.h	Sat Jan 10 15:01:10 2009
@@ -15,6 +15,7 @@
  * Please note: these objects might be bogus */
 #define GC_VERBOSE 0
 
+#include "parrot/gc_mark_sweep.h"
 #include "parrot/parrot.h"
 
 /* Macros for recursively blocking and unblocking DOD */

Copied: branches/pdd09gc_part2/include/parrot/gc_pools.h (from r35364, /branches/pdd09gc_part2/include/parrot/headers.h)
==============================================================================
--- /branches/pdd09gc_part2/include/parrot/headers.h	(original)
+++ branches/pdd09gc_part2/include/parrot/gc_pools.h	Sat Jan 10 15:01:10 2009
@@ -1,18 +1,17 @@
-/* headers.h
+/* gc_pools.h
  *  Copyright (C) 2001-2009, The Perl Foundation.
  *  SVN Info
  *     $Id$
  *  Overview:
- *     Header management functions. Handles getting of various headers,
- *     and pool creation
+ *     Handles pool management for GC.
  *  Data Structure and Algorithms:
  *  History:
  *  Notes:
  *  References:
  */
 
-#ifndef PARROT_HEADERS_H_GUARD
-#define PARROT_HEADERS_H_GUARD
+#ifndef PARROT_GC_POOLS_H_GUARD
+#define PARROT_GC_POOLS_H_GUARD
 
 #include "parrot/parrot.h"
 
@@ -45,7 +44,7 @@
 typedef int (*pool_iter_fn)(PARROT_INTERP, struct Small_Object_Pool *, int, void*);
 
 
-/* HEADERIZER BEGIN: src/headers.c */
+/* HEADERIZER BEGIN: src/gc/pools.c */
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 
 PARROT_WARN_UNUSED_RESULT
@@ -166,10 +165,10 @@
        PARROT_ASSERT_ARG(dest_interp) \
     || PARROT_ASSERT_ARG(source_interp)
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
-/* HEADERIZER END: src/headers.c */
+/* HEADERIZER END: src/gc/pools.c */
 
 
-#endif /* PARROT_HEADERS_H_GUARD */
+#endif /* PARROT_GC_POOLS_H_GUARD */
 
 /*
  * Local variables:

Modified: branches/pdd09gc_part2/include/parrot/parrot.h
==============================================================================
--- branches/pdd09gc_part2/include/parrot/parrot.h	(original)
+++ branches/pdd09gc_part2/include/parrot/parrot.h	Sat Jan 10 15:01:10 2009
@@ -297,9 +297,9 @@
 #include "parrot/pmc.h"
 #include "parrot/events.h"
 #include "parrot/intlist.h"
-#include "parrot/gc_mark_sweep.h"
-#include "parrot/headers.h"
 #include "parrot/gc_api.h"
+#include "parrot/gc_mark_sweep.h"
+#include "parrot/gc_pools.h"
 #include "parrot/resources.h"
 #include "parrot/string_funcs.h"
 #include "parrot/misc.h"

Copied: branches/pdd09gc_part2/src/gc/pools.c (from r35364, /branches/pdd09gc_part2/src/headers.c)
==============================================================================
--- /branches/pdd09gc_part2/src/headers.c	(original)
+++ branches/pdd09gc_part2/src/gc/pools.c	Sat Jan 10 15:01:10 2009
@@ -4,20 +4,20 @@
 
 =head1 NAME
 
-src/headers.c - Header management functions
+src/gc/pools.c - Header management functions
 
 =head1 DESCRIPTION
 
-Handles getting of various headers, and pool creation.
+Handles pool creation for PMC headers.
 
 =cut
 
 */
 
 #include "parrot/parrot.h"
-#include "parrot/headers.h"
+#include "parrot/gc_pools.h"
 
-/* HEADERIZER HFILE: include/parrot/headers.h */
+/* HEADERIZER HFILE: include/parrot/gc_pools.h */
 
 /* HEADERIZER BEGIN: static */
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
@@ -829,7 +829,7 @@
 
 =head1 SEE ALSO
 
-F<include/parrot/headers.h>.
+F<include/parrot/gc_pools.h>.
 
 =head1 HISTORY
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About