ruby-changes:33470
From: ko1 <ko1@a...>
Date: Thu, 10 Apr 2014 14:41:46 +0900 (JST)
Subject: [ruby-changes:33470] ko1:r45549 (trunk): * gc.c (rb_gc_writebarrier_unprotect_promoted): disable to dump debug
ko1 2014-04-10 14:41:41 +0900 (Thu, 10 Apr 2014) New Revision: 45549 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45549 Log: * gc.c (rb_gc_writebarrier_unprotect_promoted): disable to dump debug message when RGENGC_CHECK_MODE == 0. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 45548) +++ ChangeLog (revision 45549) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Apr 10 14:40:18 2014 Koichi Sasada <ko1@a...> + + * gc.c (rb_gc_writebarrier_unprotect_promoted): disable to dump debug + message when RGENGC_CHECK_MODE == 0. + Thu Apr 10 08:13:47 2014 Tanaka Akira <akr@f...> * signal.c (check_stack_overflow): Don't use ucontext_t if ucontext.h Index: gc.c =================================================================== --- gc.c (revision 45548) +++ gc.c (revision 45549) @@ -4807,7 +4807,7 @@ rb_gc_writebarrier_unprotect_promoted(VA https://github.com/ruby/ruby/blob/trunk/gc.c#L4807 if (!RVALUE_WB_PROTECTED(obj)) rb_bug("rb_gc_writebarrier_unprotect_promoted: called on shady object"); } - rgengc_report(0, objspace, "rb_gc_writebarrier_unprotect_promoted: %p (%s)%s\n", (void *)obj, obj_type_name(obj), + rgengc_report(1, objspace, "rb_gc_writebarrier_unprotect_promoted: %p (%s)%s\n", (void *)obj, obj_type_name(obj), rgengc_remembered(objspace, obj) ? " (already remembered)" : ""); if (RVALUE_OLD_P(obj)) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/