Project

General

Profile

Activity

From 07/30/2018 to 08/05/2018

08/05/2018

11:37 PM Bug #14966 (Closed): 2.5 branch - Appveyor failures - backport missed line
A while ago, @hsbt committed r62990, and the following line was in `test\test_tmpdir.rb`:
```
TRAVERSAL_PATH.dele...
MSP-Greg (Greg L)
10:53 PM Feature #14869: Proposal to add Hash#===
I recently got permission to repurpose the `Any` gem, which gives us this:
```
require 'any'
case {id: 1, name...
baweaver (Brandon Weaver)
10:16 PM Bug #14964: [MJIT] missing builtin methods
Could you test configuring ARCH_FLAG instead of CFLAGS/CXXFLAGS? I'm not sure which variable should be used for -mtun... k0kubun (Takashi Kokubun)
03:57 PM Bug #14964: [MJIT] missing builtin methods
after some investigation, I found the problem is my build options
this builds successfully
```
rb_mjit_header_ok...
ahorek (Pavel Rosický)
02:00 PM Bug #14964: [MJIT] missing builtin methods
> Is it a known problem?
No, thanks to report.
> Maybe GCC isn't supported on Windows yet?
I intend to suppo...
k0kubun (Takashi Kokubun)
01:52 PM Bug #14964: [MJIT] missing builtin methods
I'm using MSYS1 that could be a problem, but I don't see any difference or a reason why it shouldn't work. You don't ... ahorek (Pavel Rosický)
01:13 PM Bug #14964: [MJIT] missing builtin methods
@ahorek
The most recent ruby-loco build (MinGW) passed all tests and had the following output when running test_ji...
MSP-Greg (Greg L)
12:32 PM Bug #14964: [MJIT] missing builtin methods
> [...] I can compile the lastest Ruby 2.5.1 with the same options.
> Maybe GCC isn't supported on Windows yet? [......
shevegen (Robert A. Heiler)
11:00 AM Bug #14964 (Closed): [MJIT] missing builtin methods
I'm having trouble building Ruby 2.6 on Windows.
this is the first error:
```
building rb_mjit_header.h
rb_mjit...
ahorek (Pavel Rosický)
09:27 PM Revision 217bdd77 (git): process.c (rb_waitpid): reduce sigwait_fd bouncing
Once a thread has acquired sigwait_fd, hold onto it until
waitpid is complete. This prevents unnecessary migration
a...
Eric Wong
08:06 PM Misc #14962 (Closed): [PATCH] thread_pthread: stop trying to deal with cancellation
Applied in changeset trunk|r64197.
----------
thread_pthread: stop trying to deal with cancellation
We don't use pt...
normalperson (Eric Wong)
08:06 PM Revision 9f395f11 (git): test/ruby/test_thread.rb (test_thread_timer_and_interrupt): add timeouts
Trying to diagnose CI failures from i686-linux on Debian 7.
This also fixes a potential GC problem with Thread.start...
Eric Wong
08:06 PM Revision d17c7ba3 (git): * 2018-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:06 PM Revision 2ba640f3 (git): thread_pthread: stop trying to deal with cancellation
We don't use pthreads cancellation ourselves and it's painful to
use correctly. Any cancelled threads would break
vm...
Eric Wong
06:25 PM Bug #14965 (Third Party's Issue): Segmentation fault at 0x0000000000000000
I had installed rabbit (`$ gem install rabbit`) and created this file
```Markdown
# NES
```
I then run `$...
brunjact (Bruno Jacquet)
05:40 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
@h.shirosaki, thanks for your work on this. I tested your patch 0001-dir.c-performance-fix-with-braces.patch (ruby he... ahorek (Pavel Rosický)
02:33 PM Revision e09c14a0 (git): mjit.c: use -Tc flag explicitly
This option makes sure that the argument is C source file.
Probably this is not needed, but since I'm debugging it, I...
k0kubun (Takashi Kokubun)
11:00 AM Bug #14350: Strange behavior for Array.min in ruby 2.5.0
ruby_2_5 r64195 merged revision(s) 61766. nagachika (Tomoyuki Chikanaga)
10:59 AM Revision 61cb2958 (git): merge revision(s) 61766: [Backport #14350]
vm_insnhelper.c: search in the indexing order
* vm_insnhelper.c (vm_opt_newarray_max, vm_opt_newarray_min):
...
nagachika (Tomoyuki Chikanaga)
08:56 AM Revision 14d13bc1 (git): test/ruby/test_process.rb (test_wait_and_sigchld): allow extra SIGCHLD
MJIT way generate an extra SIGCHLD, so we'll have to deal with it.
Any realistic Ruby program may hit unexpected SIG...
Eric Wong
08:56 AM Revision b3aa256c (git): thread_pthread.c (native_sleep): reduce ppoll sleeps
By holding into sigwait_fd until after we acquire GVL, we can
hit the faster native_cond_sleep path instead of ppoll ...
Eric Wong
06:30 AM Misc #14921: DevelopersMeeting20180809Japan
I am in Narita and I will try to come to the meeting. The only reason why I won't make it is because I get lost on th... ioquatix (Samuel Williams)
05:34 AM Revision 88975c82 (git): mjit.c: link precompiled object
This is needed to resolve:
"error LNK2011: precompiled object not linked in; image may not run"
win32/Makefile.sub: ...
k0kubun (Takashi Kokubun)
04:48 AM Revision d3e90363 (git): mjit.c: reorder functions to reduce #ifdef branches
Just moved make_pch into `#else` of `#ifdef _MSC_VER`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64191 b2dd0...
k0kubun (Takashi Kokubun)
04:37 AM Revision d7786b1e (git): mjit.c: include prebuilt precompiled header
on mswin properly.
Deleted code to attempt make_pch for mswin, since it won't be needed.
git-svn-id: svn+ssh://ci.r...
k0kubun (Takashi Kokubun)
03:12 AM Revision 5f13fe31 (git): mjit.c: initialize prebuilt precompiled header
file name correctly. This allows to use the header installed by r64188.
win32/Makefile.sub: define prebuilt precompi...
k0kubun (Takashi Kokubun)

08/04/2018

11:53 PM Revision cdf72ddc (git): win32/Makefile.sub: build precompiled header
See the comment in win32/Makefile.sub.
Not only .pch, but also .obj needs to be installed and used on runtime.
.giti...
k0kubun (Takashi Kokubun)
11:33 PM Revision ff1e6657 (git): test/ruby/test_io.rb (test_select_leak): speedup and reduce memory use
We can reuse the sub-thread and exception with Thread#raise to
reproduce the old memory leak with less overhead. Thi...
Eric Wong
10:58 PM Revision 80e973f0 (git): test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread): conserve resources
Use Thread.pass to let the sub-thread finish. This should avoid
running out of memory on resource-constrained system...
Eric Wong
08:38 PM Revision 291a82f7 (git): thread.c (consume_communication_pipe): do not retry after short read
Saves a syscall and slightly improves vm_thread_condvar1
benchmark slightly (more improvements on the way):
...
Eric Wong
08:34 PM Revision 3dbd8d1f (git): test/ruby/test_io.rb (test_race_gets_and_close): timeout each thread
Still looking into CI failures on P895 (and seemingly no other boxes):
http://ci.rvm.jp/results/trunk@P895/119036...
Eric Wong
04:22 PM Feature #14916: Proposal to add Array#===
I recently got permission to repurpose the `Any` gem, which gives us this:
```
require 'any'
case ['Foo', 25]
...
baweaver (Brandon Weaver)
03:55 PM Feature #14869: Proposal to add Hash#===
I would agree with `===` being more useful than `<=`, as `case`, `all?`, `grep`, and other methods use it implicitly.... baweaver (Brandon Weaver)
03:12 PM Revision 32d6becb (git): * 2018-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 PM Revision be38f53b (git): common.mk: stop building MJIT min header for mswin
Since it's impossible to leave macro when preprocessing C source file
with cl.exe, I decided to create precompiled he...
k0kubun (Takashi Kokubun)

08/03/2018

09:53 PM Revision 81f1285b (git): spec/ruby/library/socket/socket/getaddrinfo_spec.rb: avoid nonsensical lookup
"http" is a TCP service, so /etc/services on typical GNU/Linux systems
only specify a TCP port for it. Use "discard"...
Eric Wong
04:19 PM Revision b53cf149 (git): Update to ruby/spec@9be7c7e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:19 PM Revision aeeaadaa (git): Update to ruby/mspec@072849e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
03:11 PM Revision a2c7d0ce (git): encoding.c (rb_enc_get_index): return -1 for non-encoding capable objects
* Clarify logic and add spec.
* Now passes test-all with the JSON fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Eregon (Benoit Daloze)
03:11 PM Revision e7da0fc3 (git): ext/json/parser/parser.c: do not call rb_str_resize() on Time object
* See https://github.com/flori/json/issues/342
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64177 b2dd03c8-39d4...
Eregon (Benoit Daloze)
03:11 PM Revision 27f34274 (git): * 2018-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision bf226a9a (git): Fix missed update of parser source in r62429
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
02:49 PM Bug #14963 (Closed): Since r64107, on Solaris, spec test of rb_io_wait_readable hangs up
Since r64107 (removal of timer thread), on Solaris (both on Solaris 10 and Solaris 11, both on x86 and sparc),
`make...
ngoto (Naohisa Goto)
02:31 PM Revision bd58361e (git): Revert "encoding.c (rb_enc_get_index): return -1 for non-encoding capable objects"
* This reverts commit fb253d2032e51f333e6577aa4fcf0c03f9c6fc02.
* The CI is failing, this seems a bug in the JSON C e...
Eregon (Benoit Daloze)
01:52 PM Revision fb253d20 (git): encoding.c (rb_enc_get_index): return -1 for non-encoding capable objects
* Clarify logic and add spec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64173 b2dd03c8-39d4-4d8f-98ff-823fe6...
Eregon (Benoit Daloze)
01:52 PM Revision 080d700e (git): encoding.c (enc_set_index): raise instead of rb_bug() for non-encoding capable objects
* Add spec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
11:13 AM Revision a3549926 (git): random.c: fix fallback value
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:52 AM Feature #14473: Add Range#subrange?
Great, thank you tarui owst (Owen Stephens)
03:04 AM Feature #14473: Add Range#subrange?
I am happy that match opinion with you.

I will commit based on your patch. It'll take a little while.
tarui (Masaya Tarui)
08:42 AM Bug #14961: Segfault when running RSpec / Capybara / Rails
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14961

queue_sleep. Is that combined with f...
normalperson (Eric Wong)
07:32 AM Bug #14961 (Feedback): Segfault when running RSpec / Capybara / Rails
No clue other than that it crashed in this thread.
```
Thread 5 Crashed:: server.rb:286
0 libsystem_kernel.dyl...
nobu (Nobuyoshi Nakada)
07:39 AM Bug #14959 (Closed): Writing a "link_to" method and a "url_helper" with a request parameter under certain "if else" statement in Rails helper crashes with KERN_INVALID_ADDRESS at 0x0000000000000000
nobu (Nobuyoshi Nakada)
07:38 AM Bug #14959: Writing a "link_to" method and a "url_helper" with a request parameter under certain "if else" statement in Rails helper crashes with KERN_INVALID_ADDRESS at 0x0000000000000000
Thank you, @rafaelfranca.
It a fixed bug in the trunk, but doesn't seem backported to 2.5 yet.
nobu (Nobuyoshi Nakada)
01:21 AM Bug #14959: Writing a "link_to" method and a "url_helper" with a request parameter under certain "if else" statement in Rails helper crashes with KERN_INVALID_ADDRESS at 0x0000000000000000
also see: https://bugs.ruby-lang.org/issues/14894 probably the same issue. sam.saffron (Sam Saffron)
07:25 AM Misc #14962 (Closed): [PATCH] thread_pthread: stop trying to deal with cancellation
thread_pthread: stop trying to deal with cancellation
We don't use pthreads cancellation ourselves and it's painfu...
normalperson (Eric Wong)
07:24 AM Revision 1f71ea2f (git): random.c: use rb_check_funcall
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:17 AM Revision 4b4d364e (git): random.c: moved domain error
* random.c (rand_range): moved call of domain_error(), not to
raise an exception in range_values().
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
06:53 AM Revision 002f6ea8 (git): ast.c: allocator of Node
* ast.c (Init_ast): undefine allocator of Node, as a method call
on an uninitialized Node causes segfault.
git-svn...
nobu (Nobuyoshi Nakada)
06:32 AM Bug #14958 (Closed): rand(endless_range) raises TypeError (no implicit conversion of Range into Integer)
Applied in changeset trunk|r64167.
----------
random.c: endless range random
* random.c (range_values): cannot dete...
nobu (Nobuyoshi Nakada)
06:31 AM Revision 64712906 (git): random.c: endless range random
* random.c (range_values): cannot determine the domain of an endless
range. [ruby-core:88261] [Bug #14958]
git-sv...
nobu (Nobuyoshi Nakada)
05:11 AM Revision 4cef2c8d (git): thread_pthread.c: add a macro guard for PTHREAD_CANCEL_ENABLE
It seems to be unavailable on some platforms including my Android phone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
mame (Yusuke Endoh)
12:25 AM Bug #14957: MinGW, gcc 8.2.0, bootstraptest test_thread.rb - failure ?
Done some more investigating. The following code I've run four ways.
Using two versions of ruby 2.6.0dev (2018-08...
MSP-Greg (Greg L)

08/02/2018

10:11 PM Bug #14961 (Closed): Segfault when running RSpec / Capybara / Rails
After upgrading to 2.5.1, we consistently see a segfault when running RSpec + Capybara against a Rails application. robear (Robert Wiegmann)
09:32 PM Bug #14898: test/lib/test/unit/parallel.rb: TestSocket#test_timestamp stuck sometimes
http://ci.rvm.jp/results/trunk_clang_38@silicon-docker/1185552
:<

> [email protected] wrote:
> > http://ci.rvm.jp/r...
normalperson (Eric Wong)
06:13 AM Bug #14898: test/lib/test/unit/parallel.rb: TestSocket#test_timestamp stuck sometimes
[email protected] wrote:
> http://ci.rvm.jp/results/trunk-test@frontier/1153126

Oh, different test, that is test_tim...
normalperson (Eric Wong)
06:10 AM Bug #14898 (Closed): test/lib/test/unit/parallel.rb: TestSocket#test_timestamp stuck sometimes
Applied in changeset trunk|r64157.
----------
test/socket/test_socket.rb (test_timestampns): retry send
It looks li...
normalperson (Eric Wong)
09:13 PM Revision 8c2ae6e3 (git): thread_pthread.c (gvl_acquire_common): persist timeout across calls
Reuse old expiration time if the previous native_cond_timedwait
did not return ETIMEDOUT. This should improve timesl...
Eric Wong
07:46 PM Bug #14959: Writing a "link_to" method and a "url_helper" with a request parameter under certain "if else" statement in Rails helper crashes with KERN_INVALID_ADDRESS at 0x0000000000000000
Minimal reproduction steps.
~~~ruby
code = <<~CODE
module ApplicationHelper
def broken_helper_in_application_...
rafaelfranca (Rafael França)
07:00 PM Bug #14959 (Closed): Writing a "link_to" method and a "url_helper" with a request parameter under certain "if else" statement in Rails helper crashes with KERN_INVALID_ADDRESS at 0x0000000000000000
# Disclaimer
Sorry about the problem being rails, and not ruby specific. I couldn't narrow down the problem and wor...
y4m4p (Masahiro Yamashita)
07:38 PM Bug #14960 (Closed): Segmentation fault
rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/compile_cache/iseq.rb:12: [BUG] Segmentatio... damir (Damir Roso)
04:13 PM Bug #11370 (Closed): Use slightly less strict test for heap_eden_pages
Closing this as it doesn't seem to be an issue in recent Ruby/OpenBSD versions. jeremyevans0 (Jeremy Evans)
03:50 PM Bug #14948: MinGW Failure - r64072 - test_jit.rb: test_compile_insn_putspecialobject_putiseq
I changed the failing test from test_unload_units to test_compile_insn_putspecialobject_putiseq in r64163 because unl... k0kubun (Takashi Kokubun)
03:17 PM Bug #14948: MinGW Failure - r64072 - test_jit.rb: test_compile_insn_putspecialobject_putiseq
Yeah, the status is intentional. I checked many things for linking `rb_mRubyVMFrozenCore` properly but still no luck.... k0kubun (Takashi Kokubun)
02:57 PM Bug #14948: MinGW Failure - r64072 - test_jit.rb: test_compile_insn_putspecialobject_putiseq
@k0kubun
Re above message, after r64161, JIT tests are working again. I tried test_unload_units, and that is stil...
MSP-Greg (Greg L)
03:35 PM Revision 0a03394b (git): * 2018-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:35 PM Revision ef3abac0 (git): test_jit.rb: split the test concern
Actually unload_units is working on MinGW, but putiseq is behaving
badly.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
k0kubun (Takashi Kokubun)
02:40 PM Revision d4381d2c (git): mjit.c: skip compaction on MinGW
because linking multiple .o files is problematic without having `static`
to the same function definitions.
git-svn-i...
k0kubun (Takashi Kokubun)
01:41 PM Revision 2aea3ded (git): mjit.c: don't apply workaround if --enable-load-relative
is specified.
This is needed for MinGW because MJIT_BUILD_DIR doesn't prefix path
like "C:\msys64", so it can't be r...
k0kubun (Takashi Kokubun)
01:03 PM Revision 57369c1c (git): mjit.c: suppress warnings by -Wunused-value
on MinGW with __atomic_exchange_n(). It returns the previous pointer value but
obviously it's not needed in MJIT's us...
k0kubun (Takashi Kokubun)
11:39 AM Revision 6a9b63e3 (git): thread_win32.c: suppress warnings by -Wsuggest-attribute
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:16 AM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
After getting the feedback here, I no longer support my original proposal. But I would be happy if something like `Ob... danga (Dan Garubba)
06:09 AM Revision 6f7b3de1 (git): * 2018-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:09 AM Revision 12f11714 (git): test/socket/test_socket.rb (test_timestampns): retry send
It looks like we need to retry test_timestampns in addition
to test_timestamp; so share some code while we're at it.
...
Eric Wong
12:04 AM Feature #14718: Use jemalloc by default?
Wow awesome news @normalperson this is going to make a massive difference with Ruby 2.6! sam.saffron (Sam Saffron)

08/01/2018

11:41 PM Feature #14473: Add Range#subrange?
I agree that the max performance issue is likely to be a rare case; I am happy to leave it as-is.
Apologies on the...
owst (Owen Stephens)
10:54 PM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
We also got this error after upgrading to 2.5.1 (we had been on 2.4.2). We're also on a v3.13 kernel (3.13.0-24-gener... patbl (Patrick Brinich-Langlois)
08:55 PM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
normalperson (Eric Wong) wrote:
> We will probably match arenas to Guild count dynamically;
> depending on whethe...
Eregon (Benoit Daloze)
07:22 PM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
[email protected] wrote:
> The question then becomes: What happens when Guilds land?

We will probably match are...
normalperson (Eric Wong)
01:04 PM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
The question then becomes: What happens when Guilds land?
It will be a hard choice to have slow allocations when t...
Eregon (Benoit Daloze)
10:04 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
> https://bugs.ruby-lang.org/issues/14759#change-73263

Btw, has anybody tested this patch with various allocators...
normalperson (Eric Wong)
09:42 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
> https://bugs.ruby-lang.org/issues/14759#change-73263

Another followup on this, current glibc 2.28 still creates...
normalperson (Eric Wong)
12:20 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
Koichi / Nobu

Is there any chance we can merge this in and even backport to 2.4/2.5.
It is a very safe change...
sam.saffron (Sam Saffron)
03:21 PM Bug #14958 (Closed): rand(endless_range) raises TypeError (no implicit conversion of Range into Integer)
I think TypeError message is a bit strange.
```console
$ ruby -v
ruby 2.6.0dev (2018-08-01 trunk 64154) [x86_64-...
znz (Kazuhiro NISHIYAMA)
02:46 PM Bug #14957 (Closed): MinGW, gcc 8.2.0, bootstraptest test_thread.rb - failure ?
Very recently MSYS/MinGW updated gcc from 7.3.0 to 8.2.0. For the most part, every test suite runs fine except the b... MSP-Greg (Greg L)
10:04 AM Feature #14718: Use jemalloc by default?
[email protected] wrote:
> As much as we like to think of jemalloc as a silver bullet of
> sorts... there are ...
normalperson (Eric Wong)
03:41 AM Feature #14718: Use jemalloc by default?
sam.saffron (Sam Saffron) wrote:
> After spending a bit too much time thinking about this, I would like to recommend...
bluz71 (Dennis B)
02:12 AM Feature #14718: Use jemalloc by default?
> Are you using LD_PRELOAD instead?
Yes that is how we deploy PRD we compile without jemalloc and then just ld pre...
sam.saffron (Sam Saffron)
01:04 AM Feature #14718: Use jemalloc by default?
> Testing the following patch with
> "MALLOC_ARENA_MAX=1 MALLOC_ARENA_TEST=1 make gcbench-rdoc"
> seems show a sma...
normalperson (Eric Wong)
12:55 AM Feature #14718: Use jemalloc by default?
Sam, I'm ok with your suggestion, any progress here is welcome. The main issue with tcmalloc is that Ruby doesn't su... mperham (Mike Perham)
12:14 AM Feature #14718: Use jemalloc by default?
After spending a bit too much time thinking about this, I would like to recommend **against** any jemalloc related ch... sam.saffron (Sam Saffron)
09:58 AM Bug #7750 (Rejected): GC中にオブジェクトが割り当てられる
1.9.3 はすでにサポートを終了しているバージョン、かつ現在の安定バージョンの Ruby では GC の仕組みを大きく変わっているのでクローズします。 hsbt (Hiroshi SHIBATA)
09:56 AM Bug #7781 (Rejected): Ruby fails make test on Cygwin for test_io.rb.
1.9.3 is already EOL status. If you have the same issue with the latest stable version of Ruby, Please report again.
...
hsbt (Hiroshi SHIBATA)
07:42 AM Feature #14955: [PATCH] gc.c: use MADV_FREE to release most of the heap page body
[email protected] wrote:
> It causes system call and extra overhead so that I'm not sure
> it is acceptable.
> On pre...
normalperson (Eric Wong)
06:53 AM Feature #14955: [PATCH] gc.c: use MADV_FREE to release most of the heap page body
It causes system call and extra overhead so that I'm not sure it is acceptable.
On previous proposal I could measu...
ko1 (Koichi Sasada)
12:44 AM Feature #14955 (Open): [PATCH] gc.c: use MADV_FREE to release most of the heap page body
gc.c: use MADV_FREE to release most the heap page body
On x86 and x86-64 Linux and FreeBSD (at least), we can rele...
normalperson (Eric Wong)
06:20 AM Misc #14921: DevelopersMeeting20180809Japan
sam.saffron (Sam Saffron) wrote:
> really hoping we can make a call on:
> https://bugs.ruby-lang.org/issues/14759
...
duerst (Martin Dürst)
02:22 AM Misc #14921: DevelopersMeeting20180809Japan
really hoping we can make a call on:
https://bugs.ruby-lang.org/issues/14759
I would also very much like to se...
sam.saffron (Sam Saffron)
12:27 AM Misc #14921: DevelopersMeeting20180809Japan
* [Feature #14869] Proposal to add Hash#=== (nobu)
* [Feature #14916] Proposal to add Array#=== (aycabta)
* [Featur...
baweaver (Brandon Weaver)
03:54 AM Misc #14956: Remove staled branches in svn repository
v1_* branches are just like ruby_2_* branches.
Please keep them.
usa (Usaku NAKAMURA)
03:48 AM Misc #14956 (Closed): Remove staled branches in svn repository
the ruby svn repository has a lot of staled branches.
I will remove the following branches for migrating git.
`...
hsbt (Hiroshi SHIBATA)
03:41 AM Bug #14948 (Assigned): MinGW Failure - r64072 - test_jit.rb: test_compile_insn_putspecialobject_putiseq
hsbt (Hiroshi SHIBATA)
03:40 AM Revision e62214be (git): move atomic logic from mjit.c from ruby_atomic.h
This macro shall be shared among other files, not just for mjit.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
shyouhei (Shyouhei Urabe)
02:55 AM Revision 740a1706 (git): (cosmetic) add blank lines for better readability
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
12:18 AM Feature #14912: Introduce pattern matching syntax
There was a previous discussion on this which had many good details and discussion:
https://bugs.ruby-lang.org/iss...
baweaver (Brandon Weaver)

07/31/2018

10:53 PM Bug #14949: test_jit.rb test_unload_units fails on 32-bit
Eric, thanks to the header information, I could fix at least the RubyCI's Debian 7.11 i686. k0kubun (Takashi Kokubun)
11:19 AM Bug #14949 (Closed): test_jit.rb test_unload_units fails on 32-bit
Applied in changeset trunk|r64138.
----------
transform_mjit_header.rb: accept having attribute
between a type of r...
k0kubun (Takashi Kokubun)
06:58 PM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
jeremyevans0 (Jeremy Evans) wrote:
> sawa (Tsuyoshi Sawada) wrote:
> > I propose to extend the exclusive or operato...
danga (Dan Garubba)
05:10 PM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
danga (Dan Garubba) wrote:
> Sure. In my day job, I write testing code. So I've written an expression like:
>
> ~...
nobu (Nobuyoshi Nakada)
02:45 PM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
sawa (Tsuyoshi Sawada) wrote:
> I propose to extend the exclusive or operator `^` to be defined on `Object`. For `In...
jeremyevans0 (Jeremy Evans)
07:28 AM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
I propose to extend the exclusive or operator `^` to be defined on `Object`. For `Integer`, the method would be overw... sawa (Tsuyoshi Sawada)
02:34 AM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
Thanks. Essentially, this helper is a form of the boolean singleton normalization I apply at the application level.
...
danga (Dan Garubba)
01:26 AM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
How about defining a helper function for your assertions?
```
def assert_same_as_boolean(x, y)
raise MyError u...
mame (Yusuke Endoh)
05:23 PM Bug #14948: MinGW Failure - r64072 - test_jit.rb: test_compile_insn_putspecialobject_putiseq
@k0kubun
I just built ruby 2.6.0dev (2018-08-01 trunk 64153) [x64-mingw32], and every JIT test is showing stderr a...
MSP-Greg (Greg L)
05:11 PM Revision fa98c129 (git): [DOC] Added CI build status for Japanese docs
[Fix GH-1923]
From: Andrea Gómez <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64...
nobu (Nobuyoshi Nakada)
03:20 PM Revision b95fff7f (git): Add same comment to thwait.gemspec like other gemspec at r64145
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:20 PM Revision ae83c35b (git): Add PRINTF_ARGS to kprintf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:02 PM Revision e4aca224 (git): * 2018-08-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision d99fb784 (git): Makefile.in: remove GNU-make dependency
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:46 PM Feature #14944: Support optional inherit argument for Module#method_defined?
If you want to suppress warnings, you can use `undef_method` instead of `remove_method` for the time being.
```rub...
znz (Kazuhiro NISHIYAMA)
02:21 PM Revision 8b310ae7 (git): merge revision(s) 60011:
test_gc.rb: relax criterion
* test/ruby/test_gc.rb (TestGc#test_expand_heap): relax the
criterion ...
U.Nakamura
02:12 PM Bug #14790: DateTime.iso8601 parses incorrect ISO8601
ruby_2_4 r64148 merged revision(s) 63512,63514. usa (Usaku NAKAMURA)
02:12 PM Revision 9f86a436 (git): merge revision(s) 63512,63514: [Backport #14790]
time.rb: fix parsing time zone in iso8601
* lib/time.rb (Time.xmlschema): a colon in time zone designator
...
U.Nakamura
02:01 PM Bug #14756: `Exception` may cause SEGV when `#backtrace` returns a string
ruby_2_4 r64147 merged revision(s) 63417. usa (Usaku NAKAMURA)
02:01 PM Revision 607d93b9 (git): merge revision(s) 63417: [Backport #14756]
error.c: check redefined backtrace result
* error.c (rb_get_backtrace): check the result of `backtrace` even...
U.Nakamura
01:54 PM Revision 312de7a9 (git): backport openssl v2.0.8 [Backport #14754]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@64146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:56 PM Revision ca32fe16 (git): Try to load version file of github repository at first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:55 PM Revision cf855124 (git): transform_mjit_header.rb: more strict FUNC_HEADER_REGEXP
to reduce "SKIPPED" logs on MJIT header build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64144 b2dd03c8-39d4...
k0kubun (Takashi Kokubun)
12:43 PM Revision 11974fc0 (git): mjit.c: allow using MJIT header in build directory
when $MJIT_SEARCH_BUILD_DIR is set.
If prefix path is owned by root, `make install` needs to be run by root.
But in ...
k0kubun (Takashi Kokubun)
12:25 PM Revision c4734308 (git): Follow up r64141 with sync tool.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:12 PM Revision b7d3d771 (git): Fixed inconsistency gemspec location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:05 PM Revision 7c980498 (git): Fixed unexpected direction deletion with irb sync.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:48 AM Revision cfd512df (git): Support Sync module same as other default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:18 AM Revision d3f57771 (git): transform_mjit_header.rb: accept having attribute
between a type of return value and function identifier. Like:
```
rb_control_frame_t *
__attribute__ ((__fastcall__)...
k0kubun (Takashi Kokubun)
10:19 AM Misc #14921: DevelopersMeeting20180809Japan
* [Feature #14954] Add :wait option to RubyVM::MJIT.pause
* Since it's not released even in preview2 yet, is it ok...
k0kubun (Takashi Kokubun)
10:10 AM Feature #14954 (Closed): Add :wait option to RubyVM::MJIT.pause
## Problem
To measure an MJIT-generated code's performance, currently we need to do `sleep ...; RubyVM::MJIT.pause` ...
k0kubun (Takashi Kokubun)
10:09 AM Feature #14953 (Closed): Add :wait option to RubyVM::MJIT.pause
Wrongly created in ruby-dev... I'll re-create this on ruby-core. k0kubun (Takashi Kokubun)
10:05 AM Feature #14953 (Closed): Add :wait option to RubyVM::MJIT.pause
## Problem
To measure an MJIT-generated code's performance, currently we need to do `sleep ...; RubyVM::MJIT.pause` ...
k0kubun (Takashi Kokubun)
03:49 AM Revision 8bcf2752 (git): Move obsoleted test/thread/test_*.rb with the current implementation.
* test/ruby/test_thread_{cv,queue}.rb: Move under the test/ruby directory.
and rename TestThread* from Test*.
*...
hsbt (Hiroshi SHIBATA)
01:52 AM Feature #14473: Add Range#subrange?
Thank you for the new patch.

At the first issue, I understood max method has performance issue at that case.
But...
Anonymous
12:29 AM Feature #14473: Add Range#subrange?
Hi tarui, thank you for reviewing and your suggestion/question.
In fact, with my v4 patch in the case you describ...
owst (Owen Stephens)
01:35 AM Revision e52a9b59 (git): Fixed inconsistency file structure for gemspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:33 AM Revision 931cda4d (git): test/ruby/test_io.rb (test_race_gets_and_close): use SIGABRT on timeout
I can't reproduce the test failure and I'm still not sure what's
wrong, but maybe we can get a core dump from P895:
h...
Eric Wong
12:31 AM Feature #14718: Use jemalloc by default?
davidtgoldblatt (David Goldblatt) wrote:
> I don't think this benchmark is a useful way to compare performance betwe...
bluz71 (Dennis B)

07/30/2018

10:59 PM Bug #14948: MinGW Failure - r64072 - test_jit.rb: test_compile_insn_putspecialobject_putiseq
I'm investigating this. It looks like a symbol (of rb_mRubyVMFrozenCore) referred from /tmp/_ruby_mjit_pXXXuYYY.so is... k0kubun (Takashi Kokubun)
10:52 PM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> yet, sky3 had a failure at
> http://ci.rvm.jp/results/trunk-test@ruby-sky3/1173398 and it
> might be related. I...
normalperson (Eric Wong)
06:22 PM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
[email protected] wrote:
> Congrats to achieve this. I think this should be a notable
> change written in NEWS...
normalperson (Eric Wong)
01:34 PM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
Congrats to achieve this. I think this should be a notable change written in NEWS :) k0kubun (Takashi Kokubun)
10:46 PM Feature #14718: Use jemalloc by default?
davidtgoldblatt (David Goldblatt) wrote:
> I don't think this benchmark is a useful way to compare performance betwe...
andresakata (André Guimarães Sakata)
08:27 PM Feature #14718: Use jemalloc by default?
I don't think this benchmark is a useful way to compare performance between versions 3 and 5 of jemalloc. In between ... davidtgoldblatt (David Goldblatt)
04:16 PM Feature #14718: Use jemalloc by default?
Got it, thanks @fweimer.
I did run a test with **jemalloc 5.1** and I've got the same results as you did.
```
...
andresakata (André Guimarães Sakata)
01:20 PM Feature #14718: Use jemalloc by default?
andresakata (André Guimarães Sakata) wrote:
> Hello @fewimer, very interesting.
>
> Just to understand one thing,...
fweimer (Florian Weimer)
01:16 PM Feature #14718: Use jemalloc by default?
Hello @fewimer, very interesting.
Just to understand one thing, were you using MALLOC_ARENA_MAX=2 in your first test?
andresakata (André Guimarães Sakata)
12:16 PM Feature #14718: Use jemalloc by default?
I can reproduce your MALLOC_ARENA_MAX=2 number.
But my untuned glibc 2.26 numbers are slightly worse (presumably d...
fweimer (Florian Weimer)
10:22 AM Feature #14718: Use jemalloc by default?
[email protected] wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=14581

> The Ruby allocator calls pos...
normalperson (Eric Wong)
09:48 PM Revision 86d35a6b (git): thread_pthread.c (unregister_ubf_list): assert unblock.func is unset
We must not allow reentry into ubf_list_head once we delete
ourselves, otherwise we could hang in there forever.
[ru...
Eric Wong
09:42 PM Bug #14945: [PATCH] thread.c (blocking_region_end): clear ubf before unregister_ubf_list
> https://bugs.ruby-lang.org/issues/14945

Actually, r64083 may not be completely safe, either, as
the list_empty...
normalperson (Eric Wong)
09:16 PM Bug #14952 (Closed): [Docs] Backport r64057 to ruby 2.5
Please backport r64057 (https://github.com/ruby/ruby/commit/ac1193d38f12e6ce5106f5413bcc57b6f585a2a1) since the bug a... nomadium (Miguel Landaeta)
08:20 PM Bug #14949: test_jit.rb test_unload_units fails on 32-bit
I'm also seeing a lot of error text, 395 items in the errs array. Asserts pass up to the assert_equal at line 562. ... MSP-Greg (Greg L)
06:02 PM Bug #14949: test_jit.rb test_unload_units fails on 32-bit
Header from native 32-bit machine (can't attach multiple files
w/o JS, it seems)
normalperson (Eric Wong)
06:00 PM Bug #14949: test_jit.rb test_unload_units fails on 32-bit
Attached is rb_mjit_header.h from a 32-bit userspace on 64-bit kernel/HW
and mjit_header_i686_native.h from a 32-bit...
normalperson (Eric Wong)
01:28 PM Bug #14949: test_jit.rb test_unload_units fails on 32-bit
Eric, thanks to notify this. To fix it, I want to know the content of MJIT header files. I could see debian i686-linu... k0kubun (Takashi Kokubun)
07:57 PM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
Sure. In my day job, I write testing code. So I've written an expression like:
~~~ ruby
raise MyError unless in_s...
danga (Dan Garubba)
02:31 PM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
Can you show me examples of concrete usage of the proposed operator?
Your explanation is a bit vague.
Matz.
matz (Yukihiro Matsumoto)
02:16 PM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
I am not sure if the trade off of adding a new operator is worth it in
this case, even well aside from backwards co...
shevegen (Robert A. Heiler)
05:54 AM Feature #14951: New operator to evaluate truthy/falsy/logical equivalence
It conflicts with the existing syntax, `a=?b`. nobu (Nobuyoshi Nakada)
05:31 AM Feature #14951 (Open): New operator to evaluate truthy/falsy/logical equivalence
I propose adding a new operator for truthy/falsy equivalence, similar to what was proposed on https://bugs.ruby-lang.... danga (Dan Garubba)
06:53 PM Revision 508f0031 (git): thread_pthread.c (gvl_yield): do ubf wakeups when uncontended
Not having contention for GVL could mean everybody else is stuck
in blocking region without GVL, so we kick the ubf l...
Eric Wong
04:35 PM Bug #14009: macOS High Sierra and “fork” compatibility
nagachika (Tomoyuki Chikanaga) wrote:
> ruby_2_4 r61358 merged revision(s) 60182.
With 2.4.4 (ruby 2.4.4p296 (201...
quaeler (loki der quaeler)
04:21 PM Feature #13050: Readline: expose rl_completion_quote_character variable
It is now registered for the next upcoming developer meeting at:
https://bugs.ruby-lang.org/issues/14921
(I thi...
shevegen (Robert A. Heiler)
03:24 PM Bug #14950 (Closed): r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
Sorry, it was my mistake. nobu (Nobuyoshi Nakada)
11:07 AM Bug #14950 (Assigned): r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
It still happens at `TestOpen3#test_pipeline_start`.
And it seems less frequently with -O0 than with -O3.
nobu (Nobuyoshi Nakada)
10:33 AM Bug #14950 (Closed): r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
normalperson (Eric Wong) wrote:
> I wrote:
> > I wonder if condvars on OSX has a "memory" of which mutexes
> > a...
nobu (Nobuyoshi Nakada)
10:03 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
I wrote:
> I wonder if condvars on OSX has a "memory" of which mutexes
> are associated with it. If so, that woul...
normalperson (Eric Wong)
09:42 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > [email protected] wrote:
> > > Since r64107, `m...
normalperson (Eric Wong)
09:10 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > Since r64107, `make test-all` crashes by EINVAL at...
nobu (Nobuyoshi Nakada)
06:42 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
[email protected] wrote:
> Since r64107, `make test-all` crashes by EINVAL at `pthread_cond_timedwait`.
> Attache...
normalperson (Eric Wong)
05:06 AM Bug #14950 (Assigned): r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
nobu (Nobuyoshi Nakada)
05:06 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
Since r64107, `make test-all` crashes by EINVAL at `pthread_cond_timedwait`.
Attached logs at r64113.
nobu (Nobuyoshi Nakada)
03:40 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
@normalperson
Eric, r64111 passed Appveyor mswin & MingW (ruby-loco). Travis also.
Thanks, Greg
MSP-Greg (Greg L)
01:12 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
[email protected] wrote:
> 1) Failure:
> TestQueue#test_thr_kill [/home/travis/build/ruby/ruby/test/thread/tes...
normalperson (Eric Wong)
01:09 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
@normalperson Eric,
Thanks. mswin passed, I haven't checked MinGW yet. Bad news is the Travis build had the foll...
MSP-Greg (Greg L)
12:33 AM Bug #14950: r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
OK, r64110 should work. I mangled #ifdef nesting in r64109 :x normalperson (Eric Wong)
12:31 AM Bug #14950 (Closed): r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
Applied in changeset trunk|r64110.
----------
thread.c: move ppoll wrapper into thread_pthread.c
thread_pthread.c r...
normalperson (Eric Wong)
12:14 AM Bug #14950 (Assigned): r64109 thread.c: move ppoll wrapper before thread_pthread.c - Windows compile failure - thread.c
I got another error with macOS. hsbt (Hiroshi SHIBATA)
03:21 PM Revision 2a4e8c17 (git): * 2018-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision 09df9972 (git): thread_pthread.c: revert r64123
* thread_pthread.c (USE_NATIVE_SLEEP_COND): revised wrongly removed
line with the ifndef guard.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
02:15 PM Bug #14868: [PATCH] process.c (ruby_fork_ruby): fix race in signal handling
ruby_2_4 r64130 merged revision(s) 63741. usa (Usaku NAKAMURA)
02:15 PM Revision 8f2e9879 (git): merge revision(s) 63741: [Backport #14868]
process.c (ruby_fork_ruby): fix race in signal handling
We must block signals before stopping timer-thread, ...
U.Nakamura
02:11 PM Bug #14865: Raising exception in c_return event hook causes infinite loop
ruby_2_4 r64129 merged revision(s) 63727. usa (Usaku NAKAMURA)
02:11 PM Revision cd5c3d12 (git): merge revision(s) 63727: [Backport #14865]
vm.c: fix infinite loop
* vm.c: use EXEC_EVENT_HOOK_AND_POP_FRAME. While exception handling, if an exception...
U.Nakamura
02:06 PM Bug #14856: [PATCH] lib/drb/extservm.rb (service): do not return `false'
ruby_2_4 r64128 merged revision(s) 63698. usa (Usaku NAKAMURA)
02:06 PM Revision 5b5739df (git): merge revision(s) 63698: [Backport #14856]
lib/drb/extservm.rb (service): do not return `false'
invoke_service_command may set entries in @servers to `...
U.Nakamura
02:00 PM Bug #14818: [Docs] Backport r63112 to ruby 2.5
ruby_2_4 r64127 merged revision(s) 63112. usa (Usaku NAKAMURA)
02:00 PM Revision 08c74b75 (git): merge revision(s) 63112: [Backport #14818]
Remove outdated example from Numeric documentation
Since 2.5, Numeric instances can be cloned and duplicated...
U.Nakamura
01:57 PM Bug #14816: Extension build failure on a system with musl libc
ruby_2_4 r64126 merged revision(s) 63571,63572. usa (Usaku NAKAMURA)
01:57 PM Revision b6ab48d8 (git): merge revision(s) 63571,63572: [Backport #14816]
`int isnan(double)` is a POSIXism
- `isnan` is something relatively new. We need to provide one for
...
U.Nakamura
01:54 PM Bug #14805: Enumerator#count is silently limited to int32
ruby_2_4 r64125 merged revision(s) 63549,63551,63554. usa (Usaku NAKAMURA)
01:54 PM Revision 7367d5db (git): merge revision(s) 63549,63551,63554: [Backport #14805]
memo->u3.cnt is long not int [Bug #14805]
enum.c: mitigate overflows
* enum.c (enum_count): convert...
U.Nakamura
09:54 AM Revision a038bf23 (git): thread_pthread.h (native_thread_data): split condvars on some platforms
Maybe some platforms have strange condition variable implementations
which have a "memory" of which mutexes they're a...
Eric Wong
08:45 AM Revision c307ffe6 (git): thread_pthread.c: remove duplicate define
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:22 AM Revision 2dd0fb21 (git): fix typo(#2), sorry!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:21 AM Revision dc4e6a8a (git): fix typo; sorry!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:13 AM Feature #6284: Add composition for procs
matz (Yukihiro Matsumoto) wrote:
> Considering the combination of OOP and FP, it seems a good idea to adding both fo...
printercu (Max Melentiev)
08:05 AM Revision ebfc4485 (git): bootstraptest/runner.rb: speed up assert_finish with IO.select (take #2)
Resurrect r63754 in a 1.8-compatible way. While we're at it,
add a note to maintain 1.8 compatibility (cf. r63757).
...
Eric Wong
07:53 AM Revision ab740cbb (git): move #pragma out of functions
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18) reportedly fails to compile
cf: https://rubyci.org/logs/rubyci.s3.amazona...
shyouhei (Shyouhei Urabe)
07:31 AM Feature #14473: Add Range#subrange?

Thank you for your patch owst.
I reviewed it and feel the behavior below is strange.
~~~
$ ruby -e 'p (1..3.1...
tarui (Masaya Tarui)
07:07 AM Revision d83536c9 (git): reduce copy & paste
We see several occurrence of "diagnostic push/pop" so why not
make them macros. Tested on GCC8 / Clang 6.
Note that...
shyouhei (Shyouhei Urabe)
06:35 AM Revision 7018acc9 (git): process.c (waitpid_nogvl): prevent conflicting use of sleep_cond
We reuse sleep_cond for waitpid notifications as well as GVL
waiting. So we must take care to not hold onto sleep_co...
Eric Wong
06:02 AM Revision 56491afc (git): thread_pthread.c (rb_sigwait_sleep): th may be 0 from MJIT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
05:51 AM Revision ab47a57a (git): thread*.c: waiting on sigwait_fd performs periodic ubf wakeups
We need to be able to perform periodic ubf_list wakeups when a
thread is sleeping and waiting on signals.
[ruby-core...
Eric Wong
05:51 AM Revision 95cae748 (git): thread_pthread.c (gvl_destroy): make no-op on GVL bits
It's possible for another thread to take vm->gvl.lock
during gvl_release at the end of thread_start_func_2
during VM ...
Eric Wong
04:28 AM Revision 45143629 (git): thread_pthread.c (rb_sigwait_sleep): fix uninitialized poll set in UBF case
[ruby-core:88088] [Misc #14937] [Bug #5343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64113 b2dd03c8-39d4-4d...
Eric Wong
03:23 AM Revision 18e22154 (git): non-constant aggregate initializer is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
02:28 AM Revision 26b8a70b (git): thread_pthread.c (rb_sigwait_sleep): re-fix [Bug #5343] harder
We can't always designate a timer thread, so any sleepers must
also perform ubf wakeups. Note: a similar change need...
Eric Wong
01:23 AM Feature #14938: Provide API to get same result as ruby -wc
mtsmfm (Fumiaki Matsushima) wrote:
> ~~~ruby
> #=> /tmp/20180729-457-smihk6:1: warning: ambiguous first argument; p...
nobu (Nobuyoshi Nakada)
12:31 AM Revision 3dc7727d (git): thread.c: move ppoll wrapper into thread_pthread.c
thread_pthread.c relies on ppoll for rb_sigwait_sleep, so ensure
the compatibility wrapper is available for it.
[Bug...
Eric Wong
 

Also available in: Atom