[#80974] [Ruby trunk Feature#13517] [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit — ko1@...
Issue #13517 has been updated by ko1 (Koichi Sasada).
4 messages
2017/05/02
[#81024] Re: [Ruby trunk Feature#13517] [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
— SASADA Koichi <ko1@...>
2017/05/07
sorry for late response.
[#80996] [Ruby trunk Feature#13544] Allow loading an ISeqs sequence directly from a C extension without requiring buffer is in an RVALUE — sam.saffron@...
Issue #13544 has been reported by sam.saffron (Sam Saffron).
3 messages
2017/05/04
[#81016] [Ruby trunk Bug#13526] Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] — s.wanabe@...
Issue #13526 has been updated by wanabe (_ wanabe).
3 messages
2017/05/07
[#81048] Re: [ruby-cvs:65788] normal:r58614 (trunk): rb_execution_context_t: move stack, stack_size and cfp from rb_thread_t — SASADA Koichi <ko1@...>
It causes compile error on raspi 3.
3 messages
2017/05/09
[#81201] Re: [ruby-cvs:65935] normal:r58761 (trunk): test/test_extilibs.rb: do not check the existence of fiddle — "U.NAKAMURA" <usa@...>
Hi, Eric
4 messages
2017/05/16
[#81202] Re: [ruby-cvs:65935] normal:r58761 (trunk): test/test_extilibs.rb: do not check the existence of fiddle
— Eric Wong <normalperson@...>
2017/05/16
"U.NAKAMURA" <[email protected]> wrote:
[#81427] Fwd: [ruby-changes:46809] normal:r58924 (trunk): test for IO.copy_stream CPU usage (r58534) — SASADA Koichi <ko1@...>
Hi,
6 messages
2017/05/28
[#81428] Re: Fwd: [ruby-changes:46809] normal:r58924 (trunk): test for IO.copy_stream CPU usage (r58534)
— Eric Wong <normalperson@...>
2017/05/28
SASADA Koichi <[email protected]> wrote:
[ruby-core:81263] Re: [Ruby trunk Feature#13552] [PATCH 0/2] reimplement ConditionVariable, Queue, SizedQueue using ccan/list
From:
Eric Wong <normalperson@...>
Date:
2017-05-19 08:06:43 UTC
List:
ruby-core #81263
[email protected] wrote: > > https://80x24.org/spew/20170519034419.GA29820@whir/raw > > Thank you. Adding `const` helps us to recognize. > > ``` > PACKED_STRUCT_UNALIGNED(struct rb_queue { > struct list_head waitq; > const VALUE que; > int num_waiting; > }); Thank you for that advice! I will update tomorrow. > ``` > > > I'm not sure how this helps performance, however. The Arrays > > are constantly changing with push/pop and RGenGC works best for > > stable (unchanging) objects (correct?) > > Sorry, I can't understand your question. > Could you give me your question in other words? Generational GC tries to avoid marking since "old" generation does not change references. However, the ->que in Queue/SizedQueue is always changing because threads push/pop. When references are always changing in Queues, so GC needs mark ->que frequently. > > Also, does setting RUBY_TYPED_WB_PROTECTED make sense for > > rb_condvar and rb_mutex_t? They store no Ruby objects and > > have no dmark callback. > > Yes, please. not wb protected objects become roots for all of minor gc. > No write is the best wb protected object. Good to know! I will update and commit tomorrow. Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>