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

ruby-changes:35380

From: nobu <ko1@a...>
Date: Tue, 9 Sep 2014 11:59:14 +0900 (JST)
Subject: [ruby-changes:35380] nobu:r47462 (trunk): * gc.c (rb_objspace_t::profile): reduce padding.

nobu	2014-09-09 11:59:08 +0900 (Tue, 09 Sep 2014)

  New Revision: 47462

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

  Log:
    * gc.c (rb_objspace_t::profile): reduce padding.

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 47461)
+++ gc.c	(revision 47462)
@@ -509,6 +509,7 @@ typedef struct rb_objspace { https://github.com/ruby/ruby/blob/trunk/gc.c#L509
     mark_stack_t mark_stack;
     struct {
 	int run;
+	int latest_gc_info;
 	gc_profile_record *records;
 	gc_profile_record *current_record;
 	size_t next_index;
@@ -550,7 +551,6 @@ typedef struct rb_objspace { https://github.com/ruby/ruby/blob/trunk/gc.c#L551
 	size_t count;
 	size_t total_allocated_object_num;
 	size_t total_freed_object_num;
-	int latest_gc_info;
     } profile;
     struct gc_list *global_list;
     rb_event_flag_t hook_events; /* this place may be affinity with memory cache */

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

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