[svn:parrot] r36625 - trunk/src/pmc
cotto at svn.parrot.org
cotto at svn.parrot.org
Thu Feb 12 11:29:49 UTC 2009
Author: cotto
Date: Thu Feb 12 11:29:48 2009
New Revision: 36625
URL: https://trac.parrot.org/parrot/changeset/36625
Log:
[gc] remove/replace DOD references in core PMCs
Modified:
trunk/src/pmc/addrregistry.pmc
trunk/src/pmc/class.pmc
trunk/src/pmc/continuation.pmc
trunk/src/pmc/default.pmc
trunk/src/pmc/eval.pmc
trunk/src/pmc/exception.pmc
trunk/src/pmc/exporter.pmc
trunk/src/pmc/object.pmc
trunk/src/pmc/parrotinterpreter.pmc
trunk/src/pmc/parrotthread.pmc
trunk/src/pmc/pmcproxy.pmc
trunk/src/pmc/role.pmc
trunk/src/pmc/scheduler.pmc
trunk/src/pmc/schedulermessage.pmc
trunk/src/pmc/task.pmc
trunk/src/pmc/timer.pmc
Modified: trunk/src/pmc/addrregistry.pmc
==============================================================================
--- trunk/src/pmc/addrregistry.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/addrregistry.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -4,7 +4,7 @@
=head1 NAME
-src/pmc/addrregistry.pmc - A DOD Registry PMC
+src/pmc/addrregistry.pmc - A GC Registry PMC
=head1 DESCRIPTION
Modified: trunk/src/pmc/class.pmc
==============================================================================
--- trunk/src/pmc/class.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/class.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -448,7 +448,7 @@
VTABLE void init() {
Parrot_Class_attributes * const _class = mem_allocate_zeroed_typed(Parrot_Class_attributes);
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
@@ -1208,7 +1208,7 @@
/* Create object. */
object = pmc_new_noinit(interp, enum_class_Object);
- /* Set custom DOD mark and destroy on the object. */
+ /* Set custom GC mark and destroy on the object. */
PObj_custom_mark_SET(object);
PObj_active_destroy_SET(object);
Modified: trunk/src/pmc/continuation.pmc
==============================================================================
--- trunk/src/pmc/continuation.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/continuation.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -240,8 +240,8 @@
* the register pointer is already switched back
* to the caller, therefore the registers of the
* sub we are returning from aren't marked, if
- * inside argument passing a DOD run is triggered
- * therefore we have to block DOD
+ * inside argument passing a GC run is triggered
+ * therefore we have to block GC
*/
opcode_t *src_indexes = interp->current_args;
opcode_t *dest_indexes = to_ctx->current_results;
Modified: trunk/src/pmc/default.pmc
==============================================================================
--- trunk/src/pmc/default.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/default.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -89,7 +89,7 @@
be constructed in an interpreter that is later destroyed */
#if 0
/* RT #46659
- * a quick hack, to prevent freeing that string during DOD
+ * a quick hack, to prevent freeing that string during GC
* triggered in t/pmc/pmc_62.t when configured with --gc=libc
*/
static STRING *ro;
@@ -1081,7 +1081,7 @@
=item C<void visit(visit_info *info)>
-Used by DOD to mark the PMC.
+Used by GC to mark the PMC.
=cut
Modified: trunk/src/pmc/eval.pmc
==============================================================================
--- trunk/src/pmc/eval.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/eval.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -265,7 +265,7 @@
res->strstart = adr;
}
- /* We block DOD while doing the packing, since GC run during a pack
+ /* We block GC while doing the packing, since GC run during a pack
has been observed to cause problems. There may be a Better Fix.
See RT #40410 for example of the problem (note on line that
segfaults, it is *cursor that is pointing to dealloced memory). */
Modified: trunk/src/pmc/exception.pmc
==============================================================================
--- trunk/src/pmc/exception.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/exception.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -85,7 +85,7 @@
Parrot_Exception_attributes * const core_struct =
mem_allocate_zeroed_typed(Parrot_Exception_attributes);
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
@@ -119,7 +119,7 @@
INTVAL ishash = VTABLE_isa(interp, values, CONST_STRING(interp, 'Hash'));
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
Modified: trunk/src/pmc/exporter.pmc
==============================================================================
--- trunk/src/pmc/exporter.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/exporter.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -118,7 +118,7 @@
exp->globals = PMCNULL;
PMC_data(SELF) = exp;
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
}
Modified: trunk/src/pmc/object.pmc
==============================================================================
--- trunk/src/pmc/object.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/object.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -684,7 +684,7 @@
/* If we get here, no custom clone. Create a new object PMC. */
cloned = pmc_new_noinit(interp, enum_class_Object);
- /* Set custom DOD mark and destroy on the object. */
+ /* Set custom GC mark and destroy on the object. */
PObj_custom_mark_SET(cloned);
PObj_active_destroy_SET(cloned);
@@ -783,7 +783,7 @@
*/
void thawfinish(visit_info *info) {
- /* Set custom DOD mark and destroy on the object. */
+ /* Set custom GC mark and destroy on the object. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
Modified: trunk/src/pmc/parrotinterpreter.pmc
==============================================================================
--- trunk/src/pmc/parrotinterpreter.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/parrotinterpreter.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -45,7 +45,7 @@
void
clone_interpreter(Parrot_Interp d, Parrot_Interp s, INTVAL flags)
{
- /* we block DOD runs while cloning since C<d> is not yet running */
+ /* we block GC runs while cloning since C<d> is not yet running */
Parrot_block_GC_mark(d);
d->scheduler = pmc_new(d, enum_class_Scheduler);
Modified: trunk/src/pmc/parrotthread.pmc
==============================================================================
--- trunk/src/pmc/parrotthread.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/parrotthread.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -40,7 +40,7 @@
#include "parrot/embed.h"
/*
- * can't do multi-threaded DOD/GC yet
+ * can't do multi-threaded GC yet
* XXX a quick hack to pass the few tests
*/
static void
@@ -133,7 +133,7 @@
UNLOCK(interpreter_array_mutex);
- /* can't allow DOD runs for now */
+ /* can't allow GC runs for now */
stop_GC(INTERP, PMC_data_typed(SELF, Parrot_Interp));
}
@@ -156,7 +156,7 @@
UNLOCK(interpreter_array_mutex);
- /* can't allow DOD runs for now */
+ /* can't allow GC runs for now */
stop_GC(INTERP, PMC_data_typed(SELF, Parrot_Interp));
}
}
Modified: trunk/src/pmc/pmcproxy.pmc
==============================================================================
--- trunk/src/pmc/pmcproxy.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/pmcproxy.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -83,7 +83,7 @@
STRING * const name = CONST_STRING(interp, "proxy");
PMC_data(SELF) = _pmc;
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
Modified: trunk/src/pmc/role.pmc
==============================================================================
--- trunk/src/pmc/role.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/role.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -225,7 +225,7 @@
Parrot_Role_attributes * const role = mem_allocate_zeroed_typed(Parrot_Role_attributes);
PMC_data(SELF) = role;
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
Modified: trunk/src/pmc/scheduler.pmc
==============================================================================
--- trunk/src/pmc/scheduler.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/scheduler.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -51,7 +51,7 @@
Parrot_Scheduler_attributes * const core_struct =
mem_allocate_zeroed_typed(Parrot_Scheduler_attributes);
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
Modified: trunk/src/pmc/schedulermessage.pmc
==============================================================================
--- trunk/src/pmc/schedulermessage.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/schedulermessage.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -40,7 +40,7 @@
Parrot_SchedulerMessage_attributes * const core_struct
= mem_allocate_zeroed_typed(Parrot_SchedulerMessage_attributes);
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
Modified: trunk/src/pmc/task.pmc
==============================================================================
--- trunk/src/pmc/task.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/task.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -47,7 +47,7 @@
Parrot_Task_attributes * const core_struct =
mem_allocate_zeroed_typed(Parrot_Task_attributes);
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
Modified: trunk/src/pmc/timer.pmc
==============================================================================
--- trunk/src/pmc/timer.pmc Thu Feb 12 11:25:42 2009 (r36624)
+++ trunk/src/pmc/timer.pmc Thu Feb 12 11:29:48 2009 (r36625)
@@ -78,7 +78,7 @@
Parrot_Timer_attributes * const core_struct =
mem_allocate_zeroed_typed(Parrot_Timer_attributes);
- /* Set flags for custom DOD mark and destroy. */
+ /* Set flags for custom GC mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
More information about the parrot-commits
mailing list