1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (gc_reset_malloc_info): Remove too much ";".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2016-08-24 13:42:08 +00:00
parent a3b84cff15
commit 8ddc191df4
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Aug 24 22:41:30 2016 Kouhei Sutou <kou@cozmixng.org>
* gc.c (gc_reset_malloc_info): Remove too much ";".
Wed Aug 24 20:07:57 2016 Naohisa Goto <ngotogenome@gmail.com>
* include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition.

2
gc.c
View file

@ -6259,7 +6259,7 @@ gc_reset_malloc_info(rb_objspace_t *objspace)
#if RGENGC_ESTIMATE_OLDMALLOC
if (!is_full_marking(objspace)) {
if (objspace->rgengc.oldmalloc_increase > objspace->rgengc.oldmalloc_increase_limit) {
objspace->rgengc.need_major_gc |= GPR_FLAG_MAJOR_BY_OLDMALLOC;;
objspace->rgengc.need_major_gc |= GPR_FLAG_MAJOR_BY_OLDMALLOC;
objspace->rgengc.oldmalloc_increase_limit =
(size_t)(objspace->rgengc.oldmalloc_increase_limit * gc_params.oldmalloc_limit_growth_factor);