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

ruby-changes:29336

From: tarui <ko1@a...>
Date: Tue, 18 Jun 2013 22:37:53 +0900 (JST)
Subject: [ruby-changes:29336] tarui:r41388 (trunk): * gc.c (gc_profile_record_flag): reason seems like one-hot encoding.

tarui	2013-06-18 22:37:09 +0900 (Tue, 18 Jun 2013)

  New Revision: 41388

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

  Log:
    * gc.c (gc_profile_record_flag): reason seems like one-hot encoding.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41387)
+++ ChangeLog	(revision 41388)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jun 18 22:36:23 2013  Masaya Tarui  <tarui@r...>
+
+	* gc.c (gc_profile_record_flag): reason seems like one-hot encoding.
+
 Tue Jun 18 22:08:53 2013  Zachary Scott  <zachary@z...>
 
 	* ext/objspace/object_tracing.c: Return for ::allocation_generation
Index: gc.c
===================================================================
--- gc.c	(revision 41387)
+++ gc.c	(revision 41388)
@@ -161,7 +161,7 @@ typedef enum { https://github.com/ruby/ruby/blob/trunk/gc.c#L161
     GPR_FLAG_MALLOC          = 0x08,
     GPR_FLAG_METHOD          = 0x10,
     GPR_FLAG_CAPI            = 0x20,
-    GPR_FLAG_STRESS          = 0x30
+    GPR_FLAG_STRESS          = 0x40
 } gc_profile_record_flag;
 
 typedef struct gc_profile_record {

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

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