General

Profile

normalperson (Eric Wong)

Issues

Projects

Activity

Today

07:32 AM Ruby trunk Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
Thank you for taking the time to do this!

> The GCC specific [cold](https://gcc.gnu.org/onlinedocs/gcc-4.6.4/gcc/...
06:42 AM Ruby trunk Feature #15010: Reduce allocation for rest parameters
chopraanmol1@gmail.com wrote:
> Yes, it can be further optimized for keyword argument and argument setup for the bl...
06:17 AM Ruby trunk Misc #15011 (Open): [PATCH] thread_pthread.c: use eventfd instead of pipe on Linux
thread_pthread.c: use eventfd instead of pipe on Linux
Based on r64478, any regular user creating more than 1024 p...
06:12 AM Ruby trunk Bug #14898: test/lib/test/unit/parallel.rb: TestSocket#test_timestamp stuck sometimes
ko1@atdot.net wrote:
> Bug #14898: test/lib/test/unit/parallel.rb: TestSocket#test_timestamp stuck sometimes
> htt...
01:43 AM Ruby trunk Revision 64478 (trunk): spec/ruby/core/io/select_spec.rb: workaround stuck IO.select
Under pipe page memory pressure on Linux, a pipe may only be
created with a single buffer[1]. And as of Linux v4.18,...

08/19/2018

11:36 PM Ruby trunk Revision 64477 (trunk): thread_sync.c (rb_condvar_initialize): remove extra semicolon
Oops :x
11:12 PM Ruby trunk Bug #14999: ConditionVariable doesn't reacquire the Mutex if Thread#kill-ed
eregontp@gmail.com wrote:
> normalperson (Eric Wong) wrote:
> > "git bisect" points to r63498 ("thread_pthread.c:...
10:20 PM Ruby trunk Revision 64476 (trunk): thread_sync.c (rb_mutex_sleep): disable interrupt checking in ensure
This is needed to reliably fix ConditionVariable#wait on Thread#kill
[Bug #14999] because there is still a chance an ...
08:40 PM Ruby trunk Revision 64475 (trunk): thread.c (rb_thread_fd_select): fix off-by-one with sigwait_fd
select(2) needs the nfds argument to be one higher than the
largest FD in the sets :x
08:16 PM Ruby trunk Revision 64474 (trunk): thread_sync.rb (rb_condvar_wait): golf out unnecessary variables
GCC is smart enough to optimize these away, but my attention
span is too short :{

Also available in: Atom