[ruby-cvs:70525] normal:r63435 (trunk): vm_core.h (rb_execution_context_t): interrupt_mask size to match interrupt_flag

normal at ruby-lang.org normal at ruby-lang.org
Tue May 15 19:11:32 JST 2018


normal	2018-05-15 19:11:32 +0900 (Tue, 15 May 2018)

  New Revision: 63435

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

  Log:
    vm_core.h (rb_execution_context_t): interrupt_mask size to match interrupt_flag
    
    rb_atomic_t is 32-bit on 64-bit platforms (including the popular
    x86-64 Linux), so save 4 bytes on this structure.  This doesn't
    result in any final size reduction due to padding, yet, but
    future changes are possible to shrink rb_execution_context_t

  Modified files:
    trunk/vm_core.h


More information about the ruby-cvs mailing list