From: KOSAKI Motohiro Date: 2013-10-31T16:28:03-04:00 Subject: [ruby-core:58115] Re: [ruby-trunk - Feature #9068][Open] [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64 (10/31/13 3:42 PM), normalperson (Eric Wong) wrote: > > Issue #9068 has been reported by normalperson (Eric Wong). > > ---------------------------------------- > Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64 > https://bugs.ruby-lang.org/issues/9068 > > Author: normalperson (Eric Wong) > Status: Open > Priority: Low > Assignee: > Category: core > Target version: current: 2.1.0 > > > gcc can pack the structure better when both 32-bit fields > are next to each other. > > (I realized I could have 10K-100K Mutexes potentially in one of my projects, > but maybe I'll change the design :) ok, please commit.