From 5d77730f69889d7357dc7235728c2d4db3721c80 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 24 Dec 2014 09:22:42 +0000 Subject: [PATCH] * gc.c: remove unused rb_objspace_t::rgengc::old_objects_at_gc_start. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ gc.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) 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);