ruby-changes:35683
From: normal <ko1@a...>
Date: Fri, 3 Oct 2014 05:59:57 +0900 (JST)
Subject: [ruby-changes:35683] normal:r47765 (trunk): vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit
normal 2014-10-03 05:59:40 +0900 (Fri, 03 Oct 2014) New Revision: 47765 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47765 Log: vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit 48 bytes is a common malloc size class on x86-64 machines which require 16-byte alignment. Modified files: trunk/ChangeLog trunk/vm_trace.c Index: ChangeLog =================================================================== --- ChangeLog (revision 47764) +++ ChangeLog (revision 47765) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Oct 3 05:58:58 2014 Eric Wong <e@8...> + + * vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit + Thu Oct 2 18:41:45 2014 NAKAMURA Usaku <usa@r...> * ext/etc/etc.c (etc_nprocessors): Windows support. Index: vm_trace.c =================================================================== --- vm_trace.c (revision 47764) +++ vm_trace.c (revision 47765) @@ -640,11 +640,11 @@ static VALUE rb_cTracePoint; https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L640 typedef struct rb_tp_struct { rb_event_flag_t events; + int tracing; /* bool */ rb_thread_t *target_th; void (*func)(VALUE tpval, void *data); void *data; VALUE proc; - int tracing; VALUE self; } rb_tp_t; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/