зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
15f9e16c5b
Коммит
5d77730f69
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Dec 24 18:21:27 2014 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* gc.c: remove unused rb_objspace_t::rgengc::old_objects_at_gc_start.
|
||||||
|
|
||||||
Wed Dec 24 13:25:22 2014 NARUSE, Yui <naruse@ruby-lang.org>
|
Wed Dec 24 13:25:22 2014 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* tool/redmine-backporter.rb: require view_changesets permission.
|
* tool/redmine-backporter.rb: require view_changesets permission.
|
||||||
|
|
3
gc.c
3
gc.c
|
@ -574,7 +574,6 @@ typedef struct rb_objspace {
|
||||||
size_t remembered_wb_unprotected_objects_limit;
|
size_t remembered_wb_unprotected_objects_limit;
|
||||||
size_t old_objects;
|
size_t old_objects;
|
||||||
size_t old_objects_limit;
|
size_t old_objects_limit;
|
||||||
size_t old_objects_at_gc_start;
|
|
||||||
|
|
||||||
#if RGENGC_ESTIMATE_OLDMALLOC
|
#if RGENGC_ESTIMATE_OLDMALLOC
|
||||||
size_t oldmalloc_increase;
|
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);
|
gc_stat_transition(objspace, gc_stat_marking);
|
||||||
|
|
||||||
#if USE_RGENGC
|
#if USE_RGENGC
|
||||||
objspace->rgengc.old_objects_at_gc_start = objspace->rgengc.old_objects;
|
|
||||||
|
|
||||||
if (full_mark) {
|
if (full_mark) {
|
||||||
#if GC_ENABLE_INCREMENTAL_MARK
|
#if GC_ENABLE_INCREMENTAL_MARK
|
||||||
objspace->rincgc.step_slots = (objspace->marked_slots * 2) / ((objspace->rincgc.pooled_slots / HEAP_OBJ_LIMIT) + 1);
|
objspace->rincgc.step_slots = (objspace->marked_slots * 2) / ((objspace->rincgc.pooled_slots / HEAP_OBJ_LIMIT) + 1);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче