Author: Whiteknight
Date: Thu Jan 15 09:14:29 2009
New Revision: 35595
Modified:
trunk/src/gc/mark_sweep.c
Log:
[GC] try to fix an issue reported by PerlJam++ where a scheduler PMC's vtable is 0xdeadbeef after r35568, even with -G.
Modified: trunk/src/gc/mark_sweep.c
==============================================================================
--- trunk/src/gc/mark_sweep.c (original)
+++ trunk/src/gc/mark_sweep.c Thu Jan 15 09:14:29 2009
@@ -667,7 +667,7 @@
arena_base->dod_mark_ptr = PMC_next_for_GC(obj) = obj;
}
}
- else if (PObj_custom_mark_TEST(obj)) {
+ if (PObj_custom_mark_TEST(obj)) {
PObj_get_FLAGS(obj) |= PObj_custom_GC_FLAG;
VTABLE_mark(interp, obj);
}