Project

General

Profile

Activity

From 05/09/2018 to 05/15/2018

05/15/2018

11:16 PM Feature #14718: Use jemalloc by default?
Hi Yusuke, I'm sorry if this hasn't been approached the right way.
**The Problem**: Many large Rails apps have a m...
mperham (Mike Perham)
08:43 AM Feature #14718: Use jemalloc by default?
> [email protected] wrote:
> > An alternative is to tune glibc by reducing the number of arenas. Call this on start...
normalperson (Eric Wong)
07:17 AM Feature #14718: Use jemalloc by default?
@mame I agree this is a problem it makes it slightly more complex to install Ruby. Ideally the build process could de... sam.saffron (Sam Saffron)
03:49 AM Feature #14718: Use jemalloc by default?
I've already said to Shyouhei, his patch has a problem: configure script fails on an environment where jemalloc is un... mame (Yusuke Endoh)
08:48 PM Revision a930a064 (git): * 2018-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:48 PM Revision 577002ef (git): Change logic to check _XOPEN_SOURCE on Solaris
* configure.ac: Change logic to check _XOPEN_SOURCE on Solaris.
With _XOPEN_SOURCE, "-std=gnu99" may also be added ...
ngoto (Naohisa Goto)
03:02 PM Bug #14761: TestThread#test_join_limits hangs up on Solaris 10 with gcc
In the above situation when the test fails, `RbConfig::LIMITS['INT64_MIN']` is `nil`. ngoto (Naohisa Goto)
02:38 PM Bug #14761 (Open): TestThread#test_join_limits hangs up on Solaris 10 with gcc
After splitting the test, TestThread#test_join_limit_negative_INT64_MIN fails.
i.e. `limit=RbConfig::LIMITS['INT64_M...
ngoto (Naohisa Goto)
02:31 PM Bug #14761 (Closed): TestThread#test_join_limits hangs up on Solaris 10 with gcc
Applied in changeset trunk|r63437.
----------
Split TestThread#test_join_limits into peaces
* test/ruby/test_thread...
ngoto (Naohisa Goto)
02:21 PM Bug #14761 (Open): TestThread#test_join_limits hangs up on Solaris 10 with gcc
On Solaris 10, sparc architecture, when compiling ruby (r63417) by GCC (version 4.6.2), TestThread#test_join_limits d... ngoto (Naohisa Goto)
02:31 PM Revision 80bf542a (git): Split TestThread#test_join_limits into peaces
* test/ruby/test_thread.rb (TestThread#test_join_limit_*): Split
TestThread#test_join_limits for investigating hang...
ngoto (Naohisa Goto)
10:51 AM Revision 6189f226 (git): signal.c: follow up r63435
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:38 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
Hi Robert,
I agree that we should not change current ruby behaviour.
I see the proposal as an extra functionality...
dsferreira (Daniel Ferreira)
09:03 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
I am mostly neutral to somewhat against it; not because of the
additional information, but because of the **restrict...
shevegen (Robert A. Heiler)
08:37 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
Sorry. I just corrected the typo:
`private_constant :Foo`
should read:
`private_constant :Bar`
dsferreira (Daniel Ferreira)
08:33 AM Feature #14758: Add a first-class support for isolated bounded packages / modules / contexts
Hi Grzegorz,
My proposal regarding the implementation of Internal Interfaces (internal access modifier) https://bu...
dsferreira (Daniel Ferreira)
07:56 AM Feature #14758 (Open): Add a first-class support for isolated bounded packages / modules / contexts
While one of the core principles of Ruby is to extend the language in a way it is a most useful and convenient tool t... grzesiek (Grzegorz Bizon)
10:12 AM Misc #14698: DevelopersMeeting20180517Japan
Please discuss what cross-thread IO#close semantics should be
for threads stuck in IO.select and IO.copy_stream:
h...
normalperson (Eric Wong)
10:11 AM Revision 0c91f109 (git): vm_core.h (rb_execution_context_t): interrupt_mask size to match interrupt_flag
rb_atomic_t is 32-bit on 64-bit platforms (including the popular
x86-64 Linux), so save 4 bytes on this structure. T...
Eric Wong
10:10 AM Revision ff6520b0 (git): Added workaround to fileutils for `make btest` without rbconfig.
Followed up r63430.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
10:04 AM Misc #14760 (Assigned): cross-thread IO#close semantics
I wrote about cross-thread IO#close in ruby-core, but I'm not sure if it's a bug
or not to have missing support for ...
normalperson (Eric Wong)
08:25 AM Feature #14759 (Open): [PATCH] set M_ARENA_MAX for glibc malloc
Not everybody benefits from jemalloc and the extra download+install
time is not always worth it. Lets make the user...
normalperson (Eric Wong)
08:08 AM Revision f50051ad (git): configure.ac: maybe with jemalloc
* configure.ac (--with-jemalloc): accept `maybe` (other than `yes`
and `no`), check for jemalloc and use it if poss...
nobu (Nobuyoshi Nakada)
07:46 AM Revision c3b77e70 (git): generic_erb.rb: get rid of fileutils
* tool/generic_erb.rb: get rid of FileUtils.touch, not to depend
on fileutils.rb which will depend on rbconfig.rb w...
nobu (Nobuyoshi Nakada)
07:45 AM Revision 02c1358b (git): share :cause variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:12 AM Feature #14757: [PATCH] thread_pthread.c: enable thread cache by default
Oops, I forgot to squash the patch and only sent the second part :x
Anyways, it is trivial:

```
--- a/thread_pt...
normalperson (Eric Wong)
12:48 AM Feature #14757 (Closed): [PATCH] thread_pthread.c: enable thread cache by default
~~~
Since r62466 ("thread_pthread.c: shorten and fix thread cache implementation"),
our thread cache is no longer b...
normalperson (Eric Wong)
05:53 AM Revision 60fbe013 (git): Retry to merge fileutils-1.1.0.
* Revert "Revert "Merge fileutils-1.1.0.""
This reverts commit 84bb8e81c25d4d7d6020c3acfbbc36e9064200fa.
* Add...
hsbt (Hiroshi SHIBATA)
04:35 AM Revision a95369b3 (git): -Wno-cast-function-type
GCC 8.1+ introduced this warning in -Weverything. It does
shed some lights on something, but rather annoying than
us...
shyouhei (Shyouhei Urabe)
04:16 AM Revision 84bb8e81 (git): Revert "Merge fileutils-1.1.0."
This reverts commit 99da3d2570e110d3024039102205f6d64174bf5e.
The change caused the following build failure:
```
......
mame (Yusuke Endoh)
03:49 AM Revision 4e09f414 (git): thread.c: enable ppoll for FreeBSD 11.0 and later
FreeBSD 11.0+ supports ppoll, so we may use it after accounting
for portability differences in how it treats POLLOUT ...
Eric Wong
01:29 AM Revision a687547a (git): -test-/wait_for_single_fd: fix -Wformat-security warning
Oops
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
01:22 AM Revision 6f960986 (git): Merge fileutils-1.1.0.
This version was migrated JRuby paches.
https://github.com/ruby/fileutils/pull/18
git-svn-id: svn+ssh://ci.ruby-la...
hsbt (Hiroshi SHIBATA)
12:08 AM Revision ee1b07b6 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:08 AM Revision f4e451ce (git): test_io_wait_uncommon: new test for uncommon file types
This should make portability problems more apparent when we try
using ppoll with rb_wait_for_single_fd on FreeBSD or ...
Eric Wong

05/14/2018

11:51 PM Revision b6f9a605 (git): test_wait_for_single_fd.rb: remove with_pipe helper
IO.pipe natively accepts a block, nowadays.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63422 b2dd03c8-39d4-4d...
Eric Wong
11:51 PM Revision 863e24b2 (git): test_wait_for_single_fd: ensure this works with kqueue
Regardless of future features, this needs to work with
kqueue descriptors across platforms.
Today this will be usefu...
Eric Wong
11:42 PM Revision baaf3ba1 (git): test_wait_for_single_fd.rb: relax test for newer FreeBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
11:40 PM Revision 3bc10457 (git): * 2018-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:40 PM Revision cda10c6d (git): io.c: cleanup copy_stream wait-for-single-fd cases
Avoid paying unnecessary setup and teardown cost for rb_fdset_t
on platforms (Linux) with good poll() support. This ...
Eric Wong
08:42 PM Feature #14723: [WIP] sleepy GC
I wrote:
> For tracking GC statistics, we should probably keep them in
> rb_execution_context_t instead of current...
normalperson (Eric Wong)
04:31 PM Feature #14718: Use jemalloc by default?
mperham (Mike Perham) wrote:
> Shyouhei, I'm very happy with only the change in default. I believe that will signif...
wyhaines (Kirk Haines)
03:58 PM Feature #14718: Use jemalloc by default?
Shyouhei, I'm very happy with only the change in default. I believe that will significantly improve the runtime of 1... mperham (Mike Perham)
08:30 AM Feature #14718: Use jemalloc by default?
sam.saffron (Sam Saffron) wrote:
> - On Linux X64 default to downloading a validated (using SHA1) tcmalloc/jemallo...
bluz71 (Dennis B)
07:53 AM Feature #14718: Use jemalloc by default?
Review wanted:
```diff
Index: trunk/configure.ac
===============================================================...
shyouhei (Shyouhei Urabe)
07:33 AM Feature #14718: Use jemalloc by default?
> You can explicitly specify --with-jemalloc, for a long time. I don't see any practical reason why that's insufficie... sam.saffron (Sam Saffron)
06:42 AM Feature #14718: Use jemalloc by default?
shyouhei (Shyouhei Urabe) wrote:
> You can explicitly specify `--with-jemalloc`, for a long time. I don't see any p...
bluz71 (Dennis B)
03:16 AM Feature #14718: Use jemalloc by default?
You can explicitly specify `--with-jemalloc`, for a long time. I don't see any practical reason why that's insuffici... shyouhei (Shyouhei Urabe)
02:14 AM Feature #14718: Use jemalloc by default?
shyouhei (Shyouhei Urabe) wrote:
> This literally means we have to bug fix jemalloc. Please no.
It's a judgement...
bluz71 (Dennis B)
12:09 AM Feature #14718: Use jemalloc by default?
mperham (Mike Perham) wrote:
> You control the exact version and any resulting bugs.
This literally means we have...
shyouhei (Shyouhei Urabe)
01:54 PM Feature #14249: Remove str[match_str]
A use in replacement may look intuitive.
```
s = "Cage"
s["age"] = "heese"
p s
#=> "Cheese"
```
gotoken (Kentaro Goto)
10:57 AM Feature #14249: Remove str[match_str]
I believe "abc".include?("ab") is much clearer than "abc"["ab"].
Are there real usages of it?
I guess the main conc...
Eregon (Benoit Daloze)
08:43 AM Bug #14747: uninitialized constant Gem::PathSupport
Sorry to be late with my reply
hsbt (Hiroshi SHIBATA) wrote:
> I fixed this problem at r63377. I think that this ...
duerst (Martin Dürst)
08:33 AM Bug #14756 (Closed): `Exception` may cause SEGV when `#backtrace` returns a string
Applied in changeset trunk|r63417.
----------
error.c: check redefined backtrace result
* error.c (rb_get_backtrace...
nobu (Nobuyoshi Nakada)
12:12 AM Bug #14756 (Closed): `Exception` may cause SEGV when `#backtrace` returns a string
This code causes SEGV, because `print_backtrace` expects second argument to be an array but a string is given.
```...
yui-knk (Kaneko Yuichiro)
08:33 AM Revision 6f0de6ed (git): error.c: check redefined backtrace result
* error.c (rb_get_backtrace): check the result of `backtrace` even
if the method is redefined. [ruby-core:87013] [...
nobu (Nobuyoshi Nakada)
08:14 AM Feature #14739: Improve fiber yield/resume performance
Here is the test which shows coroutine arguments and `coroutine_transfer` result.
https://github.com/kurocha/corou...
ioquatix (Samuel Williams)
08:05 AM Feature #14739: Improve fiber yield/resume performance
@ko1 I would suggest we make a Ruby specific version, but we can also try to make generic static library so that it c... ioquatix (Samuel Williams)
07:49 AM Feature #14739: Improve fiber yield/resume performance
sorry I missed comments.
How to ship with this library? bundle it or download by others?
(this is similar discuss...
ko1 (Koichi Sasada)
07:40 AM Feature #14739: Improve fiber yield/resume performance
Does this change move us any closer to being able to ship fibers between threads? sam.saffron (Sam Saffron)
06:39 AM Revision 1e8ff0de (git): Update test-unit 3.2.8 for bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:30 AM Revision 6c7fe8eb (git): * 2018-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 AM Revision 4f3c4c7d (git): RSTRING_PTR is not guaranteed to be char*-aligned
This commit eliminates (char **)RSTRING_PTR(...) like usages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@634...
shyouhei (Shyouhei Urabe)

05/13/2018

11:32 PM Feature #14249: Remove str[match_str]
IIUC, Ana is saying that `str[match_str]` does not make sense because it always returns `match_str`.
But it does mak...
yugui (Yuki Sonoda)
11:32 PM Bug #14429: Overzealous escaping of + in Shellwords
Ping (and confirming that this is still the case on `2.5.1p57`). woodruffw (William Woodruff)
12:31 PM Revision 8b88f70a (git): compile.c: Fix segfault when VM_INSN_INFO_TABLE_IMPL is not 2
* compile.c (ibf_dump_iseq_each): Fix a range of a conditional.
`positions` is only used when VM_INSN_INFO_TABLE_IM...
yui-knk (Kaneko Yuichiro)
01:18 AM Revision 83be2ce4 (git): * 2018-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:18 AM Revision 2c091f56 (git): optparse.rb: Remove redundant `.freeze`
[Fix GH-1873]
From: Masataka Pocke Kuwabara <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
nobu (Nobuyoshi Nakada)

05/12/2018

06:20 PM Bug #14755: Aborted (core dumped)
Node?? shevegen (Robert A. Heiler)
03:32 PM Bug #14755 (Closed): Aborted (core dumped)
/usr/local/lib/ruby/2.5.0/armv7l-linux-eabihf/enc/encdb.so: [BUG] Segmentation fault at 0x00000000
ruby 2.5.1p57 (20...
Candbot (Candbot Chan)
02:41 PM Misc #14753 (Closed): Add documentation for "into" option of optparse
Applied in changeset trunk|r63410.
----------
optparse.rb: [DOC] about into: option
* lib/optparse.rb: add document...
nobu (Nobuyoshi Nakada)
10:41 AM Misc #14753: Add documentation for "into" option of optparse
\o/
It's nice to see people improving on optparse - the awkward documentation
has been one reason for me to avoid...
shevegen (Robert A. Heiler)
06:06 AM Misc #14753 (Closed): Add documentation for "into" option of optparse
This patch adds an example code for ``into`` option into the optparse documentation.
``into`` keyword argument has b...
pocke (Masataka Kuwabara)
02:41 PM Revision 5c0e6cc8 (git): optparse.rb: [DOC] about into: option
* lib/optparse.rb: add documentation for "into" option of #parse
and family, which stores options to a Hash.
[rub...
nobu (Nobuyoshi Nakada)
09:14 AM Bug #14749 (Closed): IRB: `_` is not updated after exception raised
Applied in changeset trunk|r63409.
----------
irb.rb: update `_`
* lib/irb.rb (IRB::Irb#eval_input): update `_` aft...
nobu (Nobuyoshi Nakada)
09:13 AM Revision 707c5ffa (git): irb.rb: update `_`
* lib/irb.rb (IRB::Irb#eval_input): update `_` after exception.
[ruby-core:86989] [Bug #14749]
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
09:09 AM Revision 4969fb62 (git): fix TestInputMethod
* test/irb/test_context.rb (TestInputMethod#initialize): fix typos
and increment `line_no` only when not reaching t...
nobu (Nobuyoshi Nakada)
09:06 AM Revision 97c07d34 (git): rss: Add option Hash support to RSS::Parser.parse
Available options:
* :validate
* :ignore_unknown_element
* :parser_class
git-svn-id: svn+ssh://ci.ruby-lang....
Sutou Kouhei
08:08 AM Bug #14754 (Closed): Backport openssl v2.1.1 / v2.0.8
Ruby/OpenSSL 2.1.1 and 2.0.8 contain some bug fixes, including compatibility with LibreSSL 2.7.x.
https://github...
rhenium (Kazuki Yamaguchi)
08:02 AM Misc #12781: Segmentation fault on macOS Sierra (sqlite3_adapter.rb)
It's an[](http://www.diethealthsupplements.com/) apple's[](http://www.forskolinfuel-reviews.com/) bug[](http://www.be... stevensalbert (Steven Steven)
07:33 AM Revision 961cbe52 (git): openssl: merge changes in v2.1.1
Commits in upstream repository since v2.1.0 can be found at:
https://github.com/ruby/openssl/compare/v2.1.0....
rhenium (Kazuki Yamaguchi)
01:26 AM Revision 23666ac1 (git): io.c: fix typo and phrase [ci skip]
[Fix GH-1872]
From: Leon M. George <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63405 b2d...
nobu (Nobuyoshi Nakada)
01:24 AM Revision 610c6ba5 (git): iseq.c: iseq body local variables
* iseq.c: extract body and param.keyword in iseq as local
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
01:24 AM Revision 67221be8 (git): iseq.c: refactoring rb_iseq_free
* iseq.c (rb_iseq_free): call mjit_free_iseq only if iseq->body is
not NULL too, as the function accesses the body....
nobu (Nobuyoshi Nakada)
12:58 AM Feature #14718: Use jemalloc by default?
mperham (Mike Perham) wrote:
> ~~~
> Bundle jemalloc and link it statically.
>
> This would be my choice as a ma...
bluz71 (Dennis B)
12:17 AM Bug #14752: abort during build full build log
this is the full build log extremelydangerous (sergio lenzi)

05/11/2018

11:34 PM Bug #14752 (Closed): abort during build full build log
during ruby build on NetBSD arm the system aborts and I cannot find a core or anything else to
debug it. as the pr...
extremelydangerous (sergio lenzi)
10:08 PM Bug #14750: [IMAP] `send_string_data` uses `send_literal` method with incorrect number of arguments
ShockwaveNN (Pavel Lobashov) wrote:
> Thanks for quick fix, I monkeypatched my code using your fix and working as in...
shugo (Shugo Maeda)
01:35 PM Bug #14750: [IMAP] `send_string_data` uses `send_literal` method with incorrect number of arguments
shugo (Shugo Maeda) wrote:
> Applied in changeset trunk|r63396.
>
> ----------
> net/imap: Fix ArgumentError in ...
ShockwaveNN (Pavel Lobashov)
12:39 PM Bug #14750 (Closed): [IMAP] `send_string_data` uses `send_literal` method with incorrect number of arguments
Applied in changeset trunk|r63396.
----------
net/imap: Fix ArgumentError in send_string_data
Thanks to ShockwaveNN...
shugo (Shugo Maeda)
12:01 PM Bug #14750: [IMAP] `send_string_data` uses `send_literal` method with incorrect number of arguments
You are right, it seems indeed as if it was forgotten, as seen by:
https://github.com/ruby/ruby/commit/84c15963428...
shevegen (Robert A. Heiler)
09:49 AM Bug #14750 (Closed): [IMAP] `send_string_data` uses `send_literal` method with incorrect number of arguments
Hi there, sorry I haven't reliable test case to reproduce an issue, since I don't have access to any public IMAP serv... ShockwaveNN (Pavel Lobashov)
08:07 PM Revision 4b8d33a3 (git): lib/securerandom.rb: improve docs
* lib/securerandom.rb: [DOC] drop unnecessary `p' from code examples.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
stomar (Marcus Stollsteimer)
05:21 PM Revision 3d1e34c1 (git): configure.ac: remove ineffective check on Solaris with GCC
* configure.ac (solaris): Remove ineffective check for -std=iso9899:1999
on Solaris with GCC. The "-std=iso9899:199...
ngoto (Naohisa Goto)
04:48 PM Bug #14751 (Closed): error during transform_mjit_header.rb on Solaris 10
Applied in changeset trunk|r63400.
----------
transform_mjit_header.rb: workaround for Solaris 10 with old GCC
* to...
ngoto (Naohisa Goto)
04:24 PM Bug #14751 (Closed): error during transform_mjit_header.rb on Solaris 10
Solaris 10 にて、以下のエラーで transform_mjit_header.rb に失敗します。
(r63361 にて確認)
~~~
gcc -E -DMJIT_HEADER -P -dD -m64 -O3 -g...
ngoto (Naohisa Goto)
04:47 PM Revision 1c67c46e (git): transform_mjit_header.rb: workaround for Solaris 10 with old GCC
* tool/transform_mjit_header.rb (MJITHeader.conflicting_types?):
Add workaround for Solaris 10 with old GCC (4.6.2)...
ngoto (Naohisa Goto)
04:23 PM Feature #14718: Use jemalloc by default?
~~~
Bundle jemalloc and link it statically.
pro: No runtime hell.
con: Bloats source distribution. Costs...
mperham (Mike Perham)
04:06 AM Feature #14718: Use jemalloc by default?
bluz71 (Dennis B) wrote:
> Just enabling `--with-jemalloc` would satisfy pretty much most (myself included). On Li...
bluz71 (Dennis B)
04:00 AM Feature #14718: Use jemalloc by default?
jeremyevans0 (Jeremy Evans) wrote:
> I think you have me confused with Jason Evans, the author of jemalloc. :)
...
bluz71 (Dennis B)
03:38 AM Feature #14718: Use jemalloc by default?
mame (Yusuke Endoh) wrote:
> (Don't get me wrong: I'm never against jemalloc nor this feature. I'm purely unsure....
bluz71 (Dennis B)
03:28 AM Feature #14718: Use jemalloc by default?
> - Just enable `--with-jemalloc` default on, only for Linux.
This is my close 2nd favoured option.
> - Detect ...
bluz71 (Dennis B)
03:01 AM Feature #14718: Use jemalloc by default?
normalperson (Eric Wong) wrote:
> We will depend on distros to enable/disable the dependency on it.
Yes. This is...
mame (Yusuke Endoh)
02:22 AM Feature #14718: Use jemalloc by default?
[email protected] wrote:
> So, I think it's clear people are interested in replacing _glibc_ malloc, not every...
normalperson (Eric Wong)
01:31 AM Feature #14718: Use jemalloc by default?
So, I think it's clear people are interested in replacing _glibc_ malloc, not everything that exist in the whole univ... shyouhei (Shyouhei Urabe)
03:46 PM Bug #14746 (Closed): $cppflags が ext/zlib/Makefile に反映されないため(?) Solaris 10 にて ext/zlib のmakeに失敗する
Applied in changeset trunk|r63398.
----------
mkmf.rb: set cppflags
* ext/mkmf.rb (configuration): set the default ...
ngoto (Naohisa Goto)
03:32 PM Bug #14746: $cppflags が ext/zlib/Makefile に反映されないため(?) Solaris 10 にて ext/zlib のmakeに失敗する
mkmf時に使用した$cppflagsが生成されたMakefileに反映されないのはlib/mkmf.rbのバグだと思います。
以下のパッチで$cppflagsが生成されたMakefileに書き込まれ、ext/zlibのmake...
ngoto (Naohisa Goto)
03:46 PM Revision 94cb4cef (git): * 2018-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:46 PM Revision 5cc2ac98 (git): mkmf.rb: set cppflags
* ext/mkmf.rb (configuration): set the default cppflags, which is
referred from the default CPPFLAGS, for extension...
ngoto (Naohisa Goto)
02:20 PM Bug #14747 (Feedback): uninitialized constant Gem::PathSupport
I fixed this problem at r63377. I think that this is your environment problem.
Did you clean-up with `/cygdrive/c/...
hsbt (Hiroshi SHIBATA)
11:00 AM Bug #14747: uninitialized constant Gem::PathSupport
hsbt (Hiroshi SHIBATA) wrote:
> I caused by broken csv-1.0.3.gemspec. Can you try to clean installation directory an...
duerst (Martin Dürst)
01:01 PM Revision b936115e (git): fix potential memory leaks
* parse.y (primary, new_args_tail, local_tbl): keep the order;
allocate an empty imemo first then xmalloc, to get r...
nobu (Nobuyoshi Nakada)
12:39 PM Revision 59630683 (git): net/imap: Fix ArgumentError in send_string_data
Thanks to ShockwaveNN (Pavel Lobashov) for reporting the bug.
[ruby-core:86990] [Bug #14750]
git-svn-id: svn+ssh://c...
shugo (Shugo Maeda)
12:12 PM Revision b787be4e (git): * 2018-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:12 PM Revision 0f4b4684 (git): Use `&.` instead of modifier if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:22 AM Bug #14728: OptionParser takes other options as argument values
nobu (Nobuyoshi Nakada) wrote:
> In common, an argument is determined by the preceding option, consider `grep` comma...
xz0r (xz0r xz0r)
10:20 AM Feature #14249: Remove str[match_str]
I can tell you that the `str[match_str]` is used in many codes, but i can't find any example now
and no, it is dif...
Hanmac (Hans Mackowiak)
09:57 AM Feature #14249: Remove str[match_str]
My example in the first comment is not really correct (something went wrong when copying). What I meant:
~~~ ruby
...
ana06 (Ana Maria Martinez Gomez)
10:02 AM Misc #14698: DevelopersMeeting20180517Japan
Hi!
I would that the following issues are discussed in the meeting:
* [Feature #14097] Add union and difference...
ana06 (Ana Maria Martinez Gomez)
08:49 AM Bug #14749 (Closed): IRB: `_` is not updated after exception raised
After r63150, once exception raised, irb holds that exception to `_` instead of the last evaluated value.
~~~irb
...
no6v (Nobuhiro IMAI)
05:52 AM Bug #14745: High memory usage when using String#replace with IO.copy_stream
[email protected] wrote:
> def initialize(content)
> @io = StringIO.new(content)
> end
>
> de...
normalperson (Eric Wong)
04:32 AM Bug #14745: High memory usage when using String#replace with IO.copy_stream
[email protected] wrote:
> ~~~ ruby
> def read(length, outbuf)
> chunk = @io.read(length)
>
> ...
normalperson (Eric Wong)
03:42 AM Bug #14745: High memory usage when using String#replace with IO.copy_stream
[email protected] wrote:
> the memory usage has now doubled to 100MB at the end of the
> program, indicatin...
normalperson (Eric Wong)
03:09 AM Bug #14748 (Closed): Inconsistent (and regressed from 2.4) behavior on `Array#min` and max between array literals and arrays
This is already fixed in trunk at r61766. Please wait for ruby 2.5.2.
(Note that #12172 is innocent because opt_n...
mame (Yusuke Endoh)
03:04 AM Bug #14748: Inconsistent (and regressed from 2.4) behavior on `Array#min` and max between array literals and arrays
Related to this?
https://bugs.ruby-lang.org/issues/14350
Hanmac (Hans Mackowiak)
02:09 AM Bug #13407: We have recv_nonblock but not send_nonblock... can we add it?
I have since worked around this issue, by using `sendmsg` as an alias. https://github.com/socketry/async-io/blob/dbcf... ioquatix (Samuel Williams)
02:08 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> Server and reactor designers sometimes don't consider this case:
> I haven't checked in years, but EventMachine wa...
ioquatix (Samuel Williams)

05/10/2018

11:41 PM Bug #14748 (Closed): Inconsistent (and regressed from 2.4) behavior on `Array#min` and max between array literals and arrays
`Array#min` and `Array#max` have different behavior depending on whether or not they are called with array literals:
...
nelhage (Nelson Elhage)
09:12 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> I hacked in EPOLLONESHOT semantics into my runloop. IT was
> about the same perf...
normalperson (Eric Wong)
08:12 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> > Again, Mio (Glasgow Haskell Compiler) is most similar to what
> > I'm working ...
normalperson (Eric Wong)
05:20 PM Feature #14718: Use jemalloc by default?
bluz71 (Dennis B) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > It should definitely not be the default for all U...
jeremyevans0 (Jeremy Evans)
06:26 AM Feature #14718: Use jemalloc by default?
jeremyevans0 (Jeremy Evans) wrote:
> It should definitely not be the default for all Unix-like systems. On OpenBSD ...
bluz71 (Dennis B)
05:54 AM Feature #14718: Use jemalloc by default?
bluz71 (Dennis B) wrote:
> Some programming languages do ship with the own allocator source. If Ruby did the same wi...
jeremyevans0 (Jeremy Evans)
05:37 AM Feature #14718: Use jemalloc by default?
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > https://bugs.ruby-lang.org/issues/14718
>
> Ag...
bluz71 (Dennis B)
05:11 AM Feature #14718: Use jemalloc by default?
> * What will be changed by using jemalloc by default? I understood that jemalloc is great at the present time, but ... bluz71 (Dennis B)
03:57 PM Feature #14688: Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
k0kubun (Takashi Kokubun) wrote:
> I like this. If nobody has an objection, I want to `deprecate_constant` the old o...
unasuke (Yusuke Nakamura)
12:53 PM Bug #14747 (Assigned): uninitialized constant Gem::PathSupport
hsbt (Hiroshi SHIBATA)
12:53 PM Bug #14747: uninitialized constant Gem::PathSupport
It caused by broken csv-1.0.2.gemspec. Can you try to clean installation directory and re-install trunk version? hsbt (Hiroshi SHIBATA)
10:36 AM Bug #14747 (Closed): uninitialized constant Gem::PathSupport
I'm getting the following error repeatedly:
```
/cygdrive/c/Data/ruby/lib/rubygems.rb:393:in `paths': uninitializ...
duerst (Martin Dürst)
12:43 PM Feature #14187: `make test` and `make check` to run all test suites
+1
I'd prefer mame's change.
hsbt (Hiroshi SHIBATA)
09:49 AM Revision bd97ca44 (git): node.c: Fix format and example of NODE_OPCALL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
08:54 AM Revision ec959fbb (git): variable.c: fix multiple autoload with identical file (again)
We need to ensure autoload declarations pointing to the same
feature (aka "file") can wait on each other to avoid dea...
Eric Wong
06:34 AM Revision 5afa84b0 (git): parse.y: Fix locations of NODE_NIL in endless ranges.
* parse.y: Fix to start with the end of dots.
e.g. The locations of the NODE_NIL is fixed:
```
1..
```
*...
yui-knk (Kaneko Yuichiro)
05:12 AM Bug #14742: Deadlock when autoloading different constants in the same file from multiple threads
Eric Wong <[email protected]> wrote:
> Sorry for the delay, r63387 should fix it.

Reverted for now. Some pr...
normalperson (Eric Wong)
01:32 AM Bug #14742: Deadlock when autoloading different constants in the same file from multiple threads
Sorry for the delay, r63387 should fix it. normalperson (Eric Wong)
01:19 AM Bug #14742 (Closed): Deadlock when autoloading different constants in the same file from multiple threads
Applied in changeset trunk|r63387.
----------
variable.c: fix multiple autoload with identical file
We need to ensu...
normalperson (Eric Wong)
05:10 AM Revision 18b2cee2 (git): revert r63387 and r63389 for now
I can't reproduce the problem on my 32-bit machine, and I have
connectivity problems to my 64-bit systems at the mome...
Eric Wong
04:28 AM Feature #14739: Improve fiber yield/resume performance
Here is the initial code.
https://github.com/kurocha/coroutine
It implements a semantically similar interface t...
ioquatix (Samuel Williams)
04:18 AM Revision 6726038d (git): variable.c: fix autoload object lifetimes and leak
We must not call normal Hash methods inside GC free callback,
either, however identity hash may be used.
[ruby-core:...
Eric Wong
04:08 AM Misc #12781: Segmentation fault on macOS Sierra (sqlite3_adapter.rb)
@nobu the last two updates are spam. ioquatix (Samuel Williams)
02:54 AM Revision 23c74845 (git): RSTRING_PTR is not guaranteed to be char*-aligned
We need to ensure aligned memory access by allocating
another memory region.
git-svn-id: svn+ssh://ci.ruby-lang.org...
shyouhei (Shyouhei Urabe)
01:19 AM Revision b7413113 (git): variable.c: fix multiple autoload with identical file
We need to ensure autoload declarations pointing to the same
feature (aka "file") can wait on each other to avoid dea...
Eric Wong
12:23 AM Revision 59a571d1 (git): node.c: Fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)

05/09/2018

11:34 PM Feature #14739: Improve fiber yield/resume performance
What compiler is used to compile 64-bit Ruby on Windows? ioquatix (Samuel Williams)
02:23 PM Feature #14739: Improve fiber yield/resume performance
Thanks Koichi, for your valuable response and I appreciate your past work in this area.
I started hacking on my ow...
ioquatix (Samuel Williams)
08:06 PM Bug #14741: [].pack('M') quoted printable RFC2045 contains only LF, does not contain CRLF, Messages
> To those who don't read Japanese let me summarize:
Thanks for the summary in english, shyouhei!
shevegen (Robert A. Heiler)
05:40 PM Revision 6e06d644 (git): fix potential memory leaks
* gc.c (rb_alloc_tmp_buffer_with_count): keep the order; allocate
an empty imemo first then xmalloc, to get rid of ...
nobu (Nobuyoshi Nakada)
05:19 PM Revision 8789eb02 (git): _mjit_compile_pc_and_sp: re-commit r63360
reverting r63379 (revert of r63360).
The cause of error seems to be r63350. See r63382.
git-svn-id: svn+ssh://ci.ru...
k0kubun (Takashi Kokubun)
05:17 PM Revision 5afd479d (git): compile.c: suppress a warning
* compile.c (iseq_peephole_optimize): initialize dniobj first, to
suppress a false warning by gcc 8.1.0.
git-svn-i...
nobu (Nobuyoshi Nakada)
05:11 PM Revision 179bc1b8 (git): _mjit_compile_send.erb: revert r63350
Revert "_mjit_compile_send.erb: inline recursive call"
I reverted r63360 in r63379, but the errors were reproductive...
k0kubun (Takashi Kokubun)
04:12 PM Revision 29ac19a0 (git): * 2018-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:12 PM Revision c4a83d29 (git): iseq.h: fix argument order
* iseq.h (ISEQ_ORIGINAL_ISEQ_ALLOC): the order of ruby_xmalloc2
arguments is `count` and `element size`.
git-svn-i...
nobu (Nobuyoshi Nakada)
01:42 PM Bug #14746 (Closed): $cppflags が ext/zlib/Makefile に反映されないため(?) Solaris 10 にて ext/zlib のmakeに失敗する
Solaris 10 にて、以下のように configure && make すると、ext/zlibのmakeに失敗します。(r63361 にて確認)
~~~
$ export PATH=/usr/local/64/bin...
ngoto (Naohisa Goto)
01:09 PM Revision 3c4f49c8 (git): _mjit_compile_pc_and_sp.erb: revert r63360
Revert "_mjit_compile_pc_and_sp.erb: make sure no uninitialized"
This triggered some `NoMethodError`s which seem to ...
k0kubun (Takashi Kokubun)
01:01 PM Bug #14678: Segmentation fault in pg
Hi,
I have the same problem, exactly the same Ruby version and revision. I can supply a crash report or 3 if you r...
yb601 (Iain Barnett)
12:51 PM Revision 34002d12 (git): Use `&.` instead of modifier if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:50 PM Bug #14745 (Closed): High memory usage when using String#replace with IO.copy_stream
I'm using custom IO-like objects that implement #read as the first argument to IO.copy_stream, and I noticed odd memo... janko (Janko Marohnić)
11:44 AM Revision 10a495a0 (git): Use hard-coded file list instead of Dir.glob.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:44 AM Revision 954d0c58 (git): Revert "Use hard-coded vesion number for CI broken."
This reverts commit f5fef0a80d597f40c2d1a8cc8079bf190039fd6f.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6337...
hsbt (Hiroshi SHIBATA)
09:53 AM Revision abc30f25 (git): align jmp_buf to VALUE
This ec->machine.regs is marked by GC. However jmp_buf is
not defined by us. There are chances of unaligned access.
...
shyouhei (Shyouhei Urabe)
09:35 AM Revision f5fef0a8 (git): Use hard-coded vesion number for CI broken.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu/ruby-trunk/log/20180509T063003Z.fail.html.gz
git-svn-id: svn+...
hsbt (Hiroshi SHIBATA)
09:09 AM Bug #14744: Refinements modules have a superclass
shugo (Shugo Maeda) wrote:
> The superclass of a refinement module is for implementing super in refined methods.
> ...
Eregon (Benoit Daloze)
03:57 AM Bug #14744: Refinements modules have a superclass
> So the refinement module (self in the refine Array do block) is a Module, but looking at its ancestors it has Array... shugo (Shugo Maeda)
07:46 AM Revision a6108df9 (git): RSTRING_PTR is not guaranteed to be VALUE-aligned
Don't abuse struct RString to hold arbitrary memory region.
Thanks to @mame we now have rb_imemo_alloc_auto_free_poin...
shyouhei (Shyouhei Urabe)
07:11 AM Revision e9303e1a (git): Rename imemo_alloc with imemo_tmpbuf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
07:08 AM Revision af069678 (git): gc.c (rb_imemo_alloc_new): split for each purpose
imemo_alloc is used for three purposes: auto-free pointer (alternative
of alloca), alloc_tmp_buffer, and heap allocat...
mame (Yusuke Endoh)
06:55 AM Revision 01d998aa (git): type func(); is different from type func(void);
If a function declarator includes no parameter list, that doesn't
mean the function takes zero parameter. rb_ast_new ...
shyouhei (Shyouhei Urabe)
06:12 AM Revision 58823392 (git): gc.c (rb_imemo_alloc_new): improve the API interface
rb_imemo_alloc_new returns rb_imemo_alloc_t*, but took VALUEs, which is
inconsistent. To make the intention clear, i...
mame (Yusuke Endoh)
05:42 AM Revision 75d5cf55 (git): RSTRING_PTR is not guaranteed to be VALUE-aligned (retry)
Don't abuse struct RString to hold arbitrary memory region.
Raw pointer should just suffice.
git-svn-id: svn+ssh://...
shyouhei (Shyouhei Urabe)
05:41 AM Bug #14743: Some links broken in README
I can't answer your two questions, but for what it's worth,
aycabta commented on the linked/associated github issue:...
shevegen (Robert A. Heiler)
04:45 AM Revision 433a4e66 (git): Fixed file structure for csv.gemspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:39 AM Revision 8835dd49 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:39 AM Revision 74db990e (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:39 AM Revision 5c1941a9 (git): Merge csv-1.0.2 from upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:42 AM Revision dfc56b8c (git): revert r63362 due to test failure. Sorry!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
02:36 AM Revision 7079db9e (git): RSTRING_PTR is not guaranteed to be VALUE-aligned
Don't abuse struct RString to hold arbitrary memory region.
use rb_alloc_tmp_buffer for that purpose.
git-svn-id: s...
shyouhei (Shyouhei Urabe)
 

Also available in: Atom