Skip to content

Commit

Permalink
Disable string pool compacting. NYI.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Feb 3, 2011
1 parent 6c0f27f commit d0f701e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/gc/gc_gms.c
Expand Up @@ -829,7 +829,8 @@ gc_gms_mark_and_sweep(PARROT_INTERP, UINTVAL flags)
/* We swept all dead objects */
self->num_early_gc_PMCs = 0;

//gc_gms_compact_memory_pool(interp);
gc_gms_compact_memory_pool(interp);

gc_gms_check_sanity(interp);

gc_gms_print_stats(interp, "After", gen);
Expand Down Expand Up @@ -1116,6 +1117,10 @@ gc_gms_compact_memory_pool(PARROT_INTERP)
{
ASSERT_ARGS(gc_gms_compact_memory_pool)
MarkSweep_GC *self = (MarkSweep_GC *)interp->gc_sys->gc_private;

// FIXME String part isn't implemented yet.
return;

Parrot_gc_str_compact_pool(interp, &self->string_gc);
}

Expand Down

0 comments on commit d0f701e

Please sign in to comment.