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

ruby-changes:53262

From: k0kubun <ko1@a...>
Date: Thu, 1 Nov 2018 10:47:34 +0900 (JST)
Subject: [ruby-changes:53262] k0kubun:r65477 (trunk): mjit_worker.c: emphasize free_list of compact_units [ci skip]

k0kubun	2018-11-01 10:47:26 +0900 (Thu, 01 Nov 2018)

  New Revision: 65477

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65477

  Log:
    mjit_worker.c: emphasize free_list of compact_units [ci skip]
    
    In https://bugs.ruby-lang.org/issues/14867#note-98, it's considered
    useless at once. So I emphasized the necessity of it in the comment.

  Modified files:
    trunk/mjit_worker.c
Index: mjit_worker.c
===================================================================
--- mjit_worker.c	(revision 65476)
+++ mjit_worker.c	(revision 65477)
@@ -178,7 +178,7 @@ int mjit_call_p = FALSE; https://github.com/ruby/ruby/blob/trunk/mjit_worker.c#L178
 static struct rb_mjit_unit_list unit_queue = { LIST_HEAD_INIT(unit_queue.head) };
 /* List of units which are successfully compiled. */
 static struct rb_mjit_unit_list active_units = { LIST_HEAD_INIT(active_units.head) };
-/* List of compacted so files which will be deleted in `mjit_finish()`. */
+/* List of compacted so files which will be cleaned up by `free_list()` in `mjit_finish()`. */
 static struct rb_mjit_unit_list compact_units = { LIST_HEAD_INIT(compact_units.head) };
 /* The number of so far processed ISEQs, used to generate unique id.  */
 static int current_unit_num;

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

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