Author: chromatic
Date: Fri Jan 2 18:56:40 2009
New Revision: 34845
Added:
branches/pdd09gc_part2/include/parrot/gc_mark_sweep.h (contents, props
changed)
- copied, changed from r34827,
/branches/pdd09gc_part2/include/parrot/smallobject.h
branches/pdd09gc_part2/src/gc/mark_sweep.c (contents, props changed)
- copied, changed from r34827,
/branches/pdd09gc_part2/src/gc/smallobject.c
Removed:
branches/pdd09gc_part2/include/parrot/smallobject.h
branches/pdd09gc_part2/src/gc/smallobject.c
Modified:
branches/pdd09gc_part2/MANIFEST
branches/pdd09gc_part2/config/gen/makefiles/root.in
branches/pdd09gc_part2/docs/debug.pod
branches/pdd09gc_part2/docs/memory_internals.pod
branches/pdd09gc_part2/include/parrot/parrot.h
branches/pdd09gc_part2/lib/Parrot/Docs/Section/C.pm
branches/pdd09gc_part2/src/gc/api.c
Log:
[GC] Renamed src/gc/smallobject.c to src/gc/mark_sweep.gc and
include/parrot/smallobject.h to include/parrot/gc_mark_sweep.h.
Modified: branches/pdd09gc_part2/MANIFEST
==============================================================================
--- branches/pdd09gc_part2/MANIFEST (original)
+++ branches/pdd09gc_part2/MANIFEST Fri Jan 2 18:56:40 2009
@@ -944,7 +944,7 @@
include/parrot/scheduler_private.h [main]include
include/parrot/settings.h [main]include
include/parrot/slice.h [main]include
-include/parrot/smallobject.h [main]include
+include/parrot/gc_mark_sweep.h [main]include
include/parrot/stacks.h [main]include
include/parrot/stat.h [main]include
include/parrot/stm/backend.h [main]include
@@ -2956,7 +2956,7 @@
src/gc/register.c []
src/gc/res_lea.c []
src/gc/resources.c []
-src/gc/smallobject.c []
+src/gc/mark_sweep.c []
src/global.c []
src/global_setup.c []
src/hash.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 Fri Jan 2 18:56:40 2009
@@ -388,7 +388,7 @@
$(SRC_DIR)/gc/incremental_ms$(O) \
$(SRC_DIR)/gc/memory$(O) \
$(SRC_DIR)/gc/register$(O) \
- $(SRC_DIR)/gc/smallobject$(O) \
+ $(SRC_DIR)/gc/mark_sweep$(O) \
$(SRC_DIR)/global$(O) \
$(SRC_DIR)/global_setup$(O) \
$(SRC_DIR)/hash$(O) \
@@ -1067,7 +1067,7 @@
$(SRC_DIR)/key$(O) : $(GENERAL_H_FILES) $(SRC_DIR)/key.str
-$(SRC_DIR)/gc/smallobject$(O) : $(GENERAL_H_FILES)
+$(SRC_DIR)/gc/mark_sweep$(O) : $(GENERAL_H_FILES)
$(SRC_DIR)/gc/api$(O) : $(GENERAL_H_FILES)
Modified: branches/pdd09gc_part2/docs/debug.pod
==============================================================================
--- branches/pdd09gc_part2/docs/debug.pod (original)
+++ branches/pdd09gc_part2/docs/debug.pod Fri Jan 2 18:56:40 2009
@@ -65,7 +65,7 @@
them believe they are alive (which will happen for infants, since they come
into existence marked live.) If it finds any, it will print them out.
You can then re-run the program with a breakpoint set on the routine that
-allocated the object (e.g. C<get_free_object> in F<src/gc/smallobject.c>).
+allocated the object (e.g. C<get_free_object> in F<src/gc/mark_sweep.c>).
You'll probably want to make the breakpoint conditional on the object having
the version number that was reported, because the same memory location will
probably hold many different objects over the lifetime of the program.
Modified: branches/pdd09gc_part2/docs/memory_internals.pod
==============================================================================
--- branches/pdd09gc_part2/docs/memory_internals.pod (original)
+++ branches/pdd09gc_part2/docs/memory_internals.pod Fri Jan 2 18:56:40 2009
@@ -258,7 +258,7 @@
=head1 FILES
-smallobject.[ch], headers.c, resources.[ch], res_lea.c, src/gc/api.c,
+mark_sweep.[ch], headers.c, resources.[ch], res_lea.c, src/gc/api.c,
string.[ch], pobj.h. Other garbage collector implementations may use separate
files as well.
Copied: branches/pdd09gc_part2/include/parrot/gc_mark_sweep.h (from r34827,
/branches/pdd09gc_part2/include/parrot/smallobject.h)
==============================================================================
--- /branches/pdd09gc_part2/include/parrot/smallobject.h (original)
+++ branches/pdd09gc_part2/include/parrot/gc_mark_sweep.h Fri Jan 2
18:56:40 2009
@@ -3,8 +3,8 @@
* Copyright (C) 2002-2008, The Perl Foundation
*/
-#ifndef PARROT_SMALLOBJECT_H_GUARD
-#define PARROT_SMALLOBJECT_H_GUARD
+#ifndef PARROT_GC_MARK_SWEEP_H_GUARD
+#define PARROT_GC_MARK_SWEEP_H_GUARD
# include "parrot/parrot.h"
@@ -134,7 +134,7 @@
#endif
-/* HEADERIZER BEGIN: src/gc/smallobject.c */
+/* HEADERIZER BEGIN: src/gc/gc_mark_sweep.c */
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will
be lost. */
PARROT_WARN_UNUSED_RESULT
@@ -190,9 +190,9 @@
FUNC_MODIFIES(*source);
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will
be lost. */
-/* HEADERIZER END: src/gc/smallobject.c */
+/* HEADERIZER END: src/gc/gc_mark_sweep.c */
-#endif /* PARROT_SMALLOBJECT_H_GUARD */
+#endif /* PARROT_GC_MARK_SWEEP_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 Fri Jan 2 18:56:40 2009
@@ -297,7 +297,7 @@
#include "parrot/pmc.h"
#include "parrot/events.h"
#include "parrot/intlist.h"
-#include "parrot/smallobject.h"
+#include "parrot/gc_mark_sweep.h"
#include "parrot/headers.h"
#include "parrot/gc_api.h"
#include "parrot/resources.h"
Modified: branches/pdd09gc_part2/lib/Parrot/Docs/Section/C.pm
==============================================================================
--- branches/pdd09gc_part2/lib/Parrot/Docs/Section/C.pm (original)
+++ branches/pdd09gc_part2/lib/Parrot/Docs/Section/C.pm Fri Jan 2 18:56:40 2009
@@ -235,7 +235,7 @@
'pairs' => ['resources'],
'sources' => ['res_lea']
),
- $self->c_pair_item( '', 'smallobject' ),
+ $self->c_pair_item( '', 'mark_sweep' ),
$self->c_pair_item( '', 'headers' ),
),
$self->new_group(
Modified: branches/pdd09gc_part2/src/gc/api.c
==============================================================================
--- branches/pdd09gc_part2/src/gc/api.c (original)
+++ branches/pdd09gc_part2/src/gc/api.c Fri Jan 2 18:56:40 2009
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2001-2008, The Perl Foundation.
+Copyright (C) 2001-2009, The Perl Foundation.
$Id$
=head1 NAME
Copied: branches/pdd09gc_part2/src/gc/mark_sweep.c (from r34827,
/branches/pdd09gc_part2/src/gc/smallobject.c)
==============================================================================
--- /branches/pdd09gc_part2/src/gc/smallobject.c (original)
+++ branches/pdd09gc_part2/src/gc/mark_sweep.c Fri Jan 2 18:56:40 2009
@@ -19,9 +19,9 @@
*/
#include "parrot/parrot.h"
-#include "parrot/smallobject.h"
+#include "parrot/gc_mark_sweep.h"
-/* HEADERIZER HFILE: include/parrot/smallobject.h */
+/* HEADERIZER HFILE: include/parrot/mark_sweep.h */
/* HEADERIZER BEGIN: static */
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will
be lost. */
@@ -585,7 +585,7 @@
=head1 SEE ALSO
-F<include/parrot/smallobject.h>, F<docs/memory_internals.pod>.
+F<include/parrot/mark_sweep.h>, F<docs/memory_internals.pod>.
=cut