[svn:parrot] r36624 - in trunk/t: op pmc
cotto at svn.parrot.org
cotto at svn.parrot.org
Thu Feb 12 11:25:43 UTC 2009
Author: cotto
Date: Thu Feb 12 11:25:42 2009
New Revision: 36624
URL: https://trac.parrot.org/parrot/changeset/36624
Log:
[gc] remove most DOD references in tests
Modified:
trunk/t/op/gc.t
trunk/t/op/interp.t
trunk/t/pmc/io.t
Modified: trunk/t/op/gc.t
==============================================================================
--- trunk/t/op/gc.t Thu Feb 12 11:22:26 2009 (r36623)
+++ trunk/t/op/gc.t Thu Feb 12 11:25:42 2009 (r36624)
@@ -19,12 +19,12 @@
=head1 DESCRIPTION
Tests garbage collection with the C<interpinfo> operation and various
-DOD/GC related bugs.
+GC related bugs.
=cut
pasm_output_is( <<'CODE', '1', "sweep 1" );
- interpinfo I1, 2 # How many DOD runs have we done already?
+ interpinfo I1, 2 # How many GC mark runs have we done already?
sweep 1
interpinfo I2, 2 # Should be one more now
sub I3, I2, I1
@@ -33,7 +33,7 @@
CODE
pasm_output_is( <<'CODE', '0', "sweep 0" );
- interpinfo I1, 2 # How many DOD runs have we done already?
+ interpinfo I1, 2 # How many GC mark runs have we done already?
sweep 0
interpinfo I2, 2 # Should be same
sub I3, I2, I1
@@ -43,7 +43,7 @@
pasm_output_is( <<'CODE', '1', "sweep 0, with object that need destroy" );
new P0, 'Undef'
- interpinfo I1, 2 # How many DOD runs have we done already?
+ interpinfo I1, 2 # How many GC mark runs have we done already?
needs_destroy P0
sweep 0
interpinfo I2, 2 # Should be one more now
@@ -55,7 +55,7 @@
pasm_output_is( <<'CODE', '10', "sweep 0, with object that need destroy/destroy" );
new P0, 'Undef'
needs_destroy P0
- interpinfo I1, 2 # How many DOD runs have we done already?
+ interpinfo I1, 2 # How many GC mark runs have we done already?
new P0, 'Undef' # kill object
sweep 0
interpinfo I2, 2 # Should be one more now
@@ -63,7 +63,7 @@
sweep 0
interpinfo I4, 2 # Should be same as last
sub I5, I4, I2
- print I3 # These create PMCs that need early DOD, so we need
+ print I3 # These create PMCs that need early GC, so we need
print I5 # to put them after the second sweep op.
end
CODE
Modified: trunk/t/op/interp.t
==============================================================================
--- trunk/t/op/interp.t Thu Feb 12 11:22:26 2009 (r36623)
+++ trunk/t/op/interp.t Thu Feb 12 11:25:42 2009 (r36624)
@@ -75,8 +75,8 @@
dos
OUTPUT
-# Need to disable DOD while trace is on, as there's a non-zero chance that a
-# DOD sweep would occur, causing a bonus "DOD" line in the output, which makes
+# Need to disable GC while trace is on, as there's a non-zero chance that a
+# GC sweep would occur, causing a bonus "DOD" line in the output, which makes
# the test fail.
pasm_output_like(
<<'CODE', <<'OUTPUT', "restart trace" );
Modified: trunk/t/pmc/io.t
==============================================================================
--- trunk/t/pmc/io.t Thu Feb 12 11:22:26 2009 (r36623)
+++ trunk/t/pmc/io.t Thu Feb 12 11:25:42 2009 (r36624)
@@ -106,12 +106,12 @@
OUTPUT
pasm_output_is( <<"CODE", <<'OUTPUT', "timely destruction" );
- interpinfo I0, 2 # DOD runs
+ interpinfo I0, 2 # GC mark runs
open P0, "$temp_file", 'w'
needs_destroy P0
print P0, "a line\\n"
null P0 # kill it
- sweep 0 # a lazy DOD has to close the PIO
+ sweep 0 # a lazy GC has to close the PIO
open P0, "$temp_file", 'r'
read S0, P0, 20
print S0
More information about the parrot-commits
mailing list