Permalink
Browse files

make gms the new default GC, update NEWS, drop some unneeded code

  • Loading branch information...
1 parent 83e4dba commit ed159d06e6636d498565d9e7f4cd8cbff51c1c4f @cotto cotto committed Apr 19, 2011
Showing with 6 additions and 6 deletions.
  1. +4 −0 NEWS
  2. +2 −6 config/auto/gc.pm
View
4 NEWS
@@ -1,3 +1,7 @@
+New in 3.4.0
+- Core
+ + The Generational Mark and Sweep garbage collector is the new default.
+
New in 3.3.0
- Core
+ The isa and isa_pmc vtables can now be overridden from PIR
View
8 config/auto/gc.pm
@@ -25,7 +25,7 @@ Infinite memory "collector"
New style mark & sweep
-=item gms
+=item gms (default)
Generational M&S based on MS2
@@ -58,7 +58,7 @@ sub _init {
sub runstep {
my ( $self, $conf ) = @_;
- my $gc = $conf->options->get('gc') || 'ms2';
+ my $gc = $conf->options->get('gc') || 'gms';
$conf->debug(" ($gc) ");
my @known_gcs = qw<gms ms ms2 inf>;
@@ -70,10 +70,6 @@ sub runstep {
$conf->data->set(gc_type => uc($gc));
$self->set_result($gc);
}
- else {
- $conf->data->set(gc_type => 'MS2');
- $self->set_result('ms2');
- }
$conf->data->set(gc_flag => ''); # Compatibility with parrot-3.1.0 and earlier
return 1;

0 comments on commit ed159d0

Please sign in to comment.