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

ruby-changes:37464

From: nobu <ko1@a...>
Date: Mon, 9 Feb 2015 00:16:38 +0900 (JST)
Subject: [ruby-changes:37464] nobu:r49545 (trunk): gc.c: disable lazy sweeping check

nobu	2015-02-09 00:16:24 +0900 (Mon, 09 Feb 2015)

  New Revision: 49545

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

  Log:
    gc.c: disable lazy sweeping check
    
    * gc.c (rb_objspace_free): disable provisionally lazy sweeping
      check.

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 49544)
+++ gc.c	(revision 49545)
@@ -1209,8 +1209,10 @@ static void heap_page_free(rb_objspace_t https://github.com/ruby/ruby/blob/trunk/gc.c#L1209
 void
 rb_objspace_free(rb_objspace_t *objspace)
 {
+#if 0
     if (is_lazy_sweeping(heap_eden))
 	rb_bug("lazy sweeping underway when freeing object space");
+#endif
 
     if (objspace->profile.records) {
 	free(objspace->profile.records);

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

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