Project

General

Profile

Actions

Feature #9068

closed

[PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64

Added by normalperson (Eric Wong) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Assignee:
-
Target version:
[ruby-core:58114]

Description

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 :)


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0