[svn:parrot] r49166 - branches/gc_massacre/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Mon Sep 20 09:50:51 UTC 2010
Author: bacek
Date: Mon Sep 20 09:50:51 2010
New Revision: 49166
URL: https://trac.parrot.org/parrot/changeset/49166
Log:
Ugly hack to prevent to often collecting due String GC
Modified:
branches/gc_massacre/src/gc/gc_ms2.c
Modified: branches/gc_massacre/src/gc/gc_ms2.c
==============================================================================
--- branches/gc_massacre/src/gc/gc_ms2.c Mon Sep 20 09:50:21 2010 (r49165)
+++ branches/gc_massacre/src/gc/gc_ms2.c Mon Sep 20 09:50:51 2010 (r49166)
@@ -989,6 +989,11 @@
return;
}
+ /* Ugly hack to skip call from String GC */
+ if (flags & GC_trace_stack_FLAG) {
+ return;
+ }
+
++self->gc_mark_block_level;
gc_ms2_mark_pmc_header(interp, PMCNULL);
More information about the parrot-commits
mailing list