зеркало из https://github.com/github/ruby.git
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9694416c06
Коммит
5332d81283
2
gc.c
2
gc.c
|
@ -5049,7 +5049,7 @@ gc_prof_setup_new_record(rb_objspace_t *objspace, int reason)
|
||||||
}
|
}
|
||||||
record = objspace->profile.current_record = &objspace->profile.records[objspace->profile.next_index - 1];
|
record = objspace->profile.current_record = &objspace->profile.records[objspace->profile.next_index - 1];
|
||||||
MEMZERO(record, gc_profile_record, 1);
|
MEMZERO(record, gc_profile_record, 1);
|
||||||
|
|
||||||
/* setup before-GC parameter */
|
/* setup before-GC parameter */
|
||||||
record->flags = reason | ((ruby_gc_stress && !ruby_disable_gc_stress) ? GPR_FLAG_STRESS : 0);
|
record->flags = reason | ((ruby_gc_stress && !ruby_disable_gc_stress) ? GPR_FLAG_STRESS : 0);
|
||||||
#if CALC_EXACT_MALLOC_SIZE
|
#if CALC_EXACT_MALLOC_SIZE
|
||||||
|
|
Загрузка…
Ссылка в новой задаче