diff --git a/ChangeLog b/ChangeLog index 5c51626f55..00dacb7e99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Dec 24 18:21:27 2014 Koichi Sasada + + * gc.c: remove unused rb_objspace_t::rgengc::old_objects_at_gc_start. + Wed Dec 24 13:25:22 2014 NARUSE, Yui * tool/redmine-backporter.rb: require view_changesets permission. diff --git a/gc.c b/gc.c index acd496e5a1..c75f8637c0 100644 --- a/gc.c +++ b/gc.c @@ -574,7 +574,6 @@ typedef struct rb_objspace { size_t remembered_wb_unprotected_objects_limit; size_t old_objects; size_t old_objects_limit; - size_t old_objects_at_gc_start; #if RGENGC_ESTIMATE_OLDMALLOC size_t oldmalloc_increase; @@ -4915,8 +4914,6 @@ gc_marks_start(rb_objspace_t *objspace, int full_mark) gc_stat_transition(objspace, gc_stat_marking); #if USE_RGENGC - objspace->rgengc.old_objects_at_gc_start = objspace->rgengc.old_objects; - if (full_mark) { #if GC_ENABLE_INCREMENTAL_MARK objspace->rincgc.step_slots = (objspace->marked_slots * 2) / ((objspace->rincgc.pooled_slots / HEAP_OBJ_LIMIT) + 1);