Skip to content
This repository
Browse code

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

  • Loading branch information...
commit ed159d06e6636d498565d9e7f4cd8cbff51c1c4f 1 parent 83e4dba
cotto cotto authored

Showing 2 changed files with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. +4 0 NEWS
  2. +2 6 config/auto/gc.pm
4 NEWS
... ... @@ -1,3 +1,7 @@
  1 +New in 3.4.0
  2 +- Core
  3 + + The Generational Mark and Sweep garbage collector is the new default.
  4 +
1 5 New in 3.3.0
2 6 - Core
3 7 + The isa and isa_pmc vtables can now be overridden from PIR
8 config/auto/gc.pm
@@ -25,7 +25,7 @@ Infinite memory "collector"
25 25
26 26 New style mark & sweep
27 27
28   -=item gms
  28 +=item gms (default)
29 29
30 30 Generational M&S based on MS2
31 31
@@ -58,7 +58,7 @@ sub _init {
58 58 sub runstep {
59 59 my ( $self, $conf ) = @_;
60 60
61   - my $gc = $conf->options->get('gc') || 'ms2';
  61 + my $gc = $conf->options->get('gc') || 'gms';
62 62 $conf->debug(" ($gc) ");
63 63
64 64 my @known_gcs = qw<gms ms ms2 inf>;
@@ -70,10 +70,6 @@ sub runstep {
70 70 $conf->data->set(gc_type => uc($gc));
71 71 $self->set_result($gc);
72 72 }
73   - else {
74   - $conf->data->set(gc_type => 'MS2');
75   - $self->set_result('ms2');
76   - }
77 73 $conf->data->set(gc_flag => ''); # Compatibility with parrot-3.1.0 and earlier
78 74
79 75 return 1;

0 comments on commit ed159d0

Please sign in to comment.
Something went wrong with that request. Please try again.