[前][次][番号順一覧][スレッド一覧]

ruby-changes:58888

From: John <ko1@a...>
Date: Sat, 23 Nov 2019 05:42:58 +0900 (JST)
Subject: [ruby-changes:58888] 3f4199b0af (master): Use value of use_verifier in gc_compact

https://git.ruby-lang.org/ruby.git/commit/?id=3f4199b0af

From 3f4199b0af791572b7abf63f33bb3b0b9b53d08f Mon Sep 17 00:00:00 2001
From: John Hawthorn <john@h...>
Date: Wed, 20 Nov 2019 14:07:20 -0800
Subject: Use value of use_verifier in gc_compact


diff --git a/gc.c b/gc.c
index 899ca6b..9329f31 100644
--- a/gc.c
+++ b/gc.c
@@ -8444,7 +8444,7 @@ gc_compact(rb_objspace_t *objspace, int use_toward_empty, int use_double_pages, https://github.com/ruby/ruby/blob/trunk/gc.c#L8444
         /* pin objects referenced by maybe pointers */
         garbage_collect(objspace, GPR_DEFAULT_REASON);
         /* compact */
-        gc_compact_after_gc(objspace, use_toward_empty, use_double_pages, TRUE);
+        gc_compact_after_gc(objspace, use_toward_empty, use_double_pages, use_verifier);
     }
     objspace->flags.during_compacting = FALSE;
 }
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]