Project

General

Profile

Activity

From 09/07/2023 to 09/13/2023

09/13/2023

11:42 PM Revision f644996f (git): For YJIT Actions, don't filter test-spec backtraces
I'm trying to debug a flaky `RuntimeError: nested #it` failure in
ruby/spec. Hopefully the full backtrace will give s...
alanwu (Alan Wu)
09:26 PM Revision 3d453bc6 (git): [ruby/yarp] free strings in the ruby extension
https://github.com/ruby/yarp/commit/87dbb6cf1f froydnj (Nathan Froyd)
08:44 PM Revision b49be2a7 (git): YJIT: Skip adding past_page_bytes for past pages (#8433)
YJIT: Skip adding past_pages_bytes for past pages k0kubun (Takashi Kokubun)
07:16 PM Feature #19832: Method#destructive?, UnboundMethod#destructive?
IMO this feature wouldn't really add anything new to ractors that I can think of, because ractors already work with e... luke-gru (Luke Gruber)
05:37 PM Revision 7f6c0efa (git): Fix hyperlink for Script Encoding
herwin (Herwin W)
05:31 PM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
> May you please help me to find the root cause?
A start would be to decompile `rb_str_count` on two versions.
...
byroot (Jean Boussier)
04:22 PM Bug #19875: Ruby 3.0 -> 3.1 Performance regression in String#count
Thanks for your feedback, @nobu! It looks like compiler dependent. I used `x86_64-linux`.
May you please help me to ...
iz (Illia Zub)
01:36 AM Bug #19875 (Feedback): Ruby 3.0 -> 3.1 Performance regression in String#count
It seems compiler dependent.
My results on x86_64-darwin are:
```
$ ruby -I ./benchmark/benchmark-driver/lib/ be...
nobu (Nobuyoshi Nakada)
03:08 PM Bug #19880 (Closed): Missing write barrier in iseq instruction list
peterzhu2118 (Peter Zhu)
03:08 PM Bug #19880 (Closed): Missing write barrier in iseq instruction list
There's a missing write barrier for operands in the iseq instruction list, which can cause crashes. This bug has been... peterzhu2118 (Peter Zhu)
02:48 PM Revision ff329ce4 (git): YJIT: Make yjit_alloc_size available by default (#8426)
k0kubun (Takashi Kokubun)
02:45 PM Revision 721d21d3 (git): YJIT: Make compile_time_ns a default counter (#8425)
k0kubun (Takashi Kokubun)
02:37 PM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
I don't think this is resolved, at least to the full extent. Trying again with the patch from comment #18257-13 and t... vo.x (Vit Ondruch)
02:30 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
I said this could be useful for debugging. If a user finds a call to `autoload` on the line pointed to by `const_sour... mame (Yusuke Endoh)
12:38 PM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
mame (Yusuke Endoh) wrote in #note-16:
> Why do you want to know the location of the autoload call after it is actua...
sawa (Tsuyoshi Sawada)
10:44 AM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
Why do you want to know the location of the autoload call after it is actually loaded? I guess that information is al... mame (Yusuke Endoh)
05:55 AM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
mame (Yusuke Endoh) wrote in #note-14:
> As I said, you can use it safely in conjunction with `Module.autoload?`.
>...
sawa (Tsuyoshi Sawada)
05:11 AM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
sawa (Tsuyoshi Sawada) wrote in #note-13:
> You cannot safely use `const_source_location` to extract the autoload ca...
mame (Yusuke Endoh)
04:07 AM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
mame (Yusuke Endoh) wrote in #note-11:
> 2. If we want to identify where a constant is set as autoload, we can use th...
sawa (Tsuyoshi Sawada)
01:50 PM Revision 90838a94 (git): [ruby/yarp] Fix associativity for a couple of operators
https://github.com/ruby/yarp/commit/820774976d kddnewton (Kevin Newton)
01:40 PM Revision f9898b9e (git): [ruby/yarp] Better handle invalid gvar writes
https://github.com/ruby/yarp/commit/eaaebc17c8 kddnewton (Kevin Newton)
12:48 PM Revision ea75a682 (git): [ruby/yarp] Mark empty flags as well as locations and blocks
https://github.com/ruby/yarp/commit/b74ce35379 nobu (Nobuyoshi Nakada)
12:40 PM Bug #19878 (Closed): Math.log is broken for bignum
Applied in changeset commit:git|411572661a3995a0daacb6c866ea3ac6b52ad25b.
----------
math.c: Fix Math.log against hu...
mame (Yusuke Endoh)
09:59 AM Bug #19878: Math.log is broken for bignum
Fortunately, this bug was introduced this year on commit:da39936ce165ea9462b9e192eb6b608485c94842 so no need to backp... mame (Yusuke Endoh)
09:58 AM Bug #19878: Math.log is broken for bignum
https://github.com/ruby/ruby/pull/8429 mame (Yusuke Endoh)
09:54 AM Bug #19878 (Closed): Math.log is broken for bignum
```ruby
p Math.log(2 ** 1020, 10) #=> 307.0505955772608
p Math.log(2 ** 1021, 10) #=> 307.35162557292483
p Math.lo...
mame (Yusuke Endoh)
12:40 PM Revision a0e66873 (git): Use log2(b) instead of (log(b) / M_LN2)
Co-Authored-By: Nobuyoshi Nakada <[email protected]> mame (Yusuke Endoh)
12:40 PM Revision 41157266 (git): math.c: Fix Math.log against huge bignum [Bug #19878]
mame (Yusuke Endoh)
12:31 PM Bug #19879 (Third Party's Issue): GC crash during Rails app testing
```
/opt/hostedtoolcache/Ruby/3.1.3/x64/lib/libruby.so.3.1(objspace_xmalloc0.cold+0x0) [0x7f07a3fbfa2f]
[0x7f079983...
byroot (Jean Boussier)
10:42 AM Bug #19879 (Third Party's Issue): GC crash during Rails app testing
In a Github action (using https://github.com/ruby/setup-ruby latest) for a rails app, I am seeing the following error... johansenjaa (Joseph Johansen)
09:44 AM Bug #19754: `IO::Buffer#get_string` raises unsuitable exception for too large offset
It also begs the question whether `NUM2SIZET` should allow negative values.. ioquatix (Samuel Williams)
09:44 AM Bug #19754: `IO::Buffer#get_string` raises unsuitable exception for too large offset
This change isn't sufficient, it just protects against the invalid value of offset. We can backport it, but I don't f... ioquatix (Samuel Williams)
09:22 AM Bug #19877 (Closed): Non intuitive behavior of syntax only applied to literal value
Non intuitive behavior of syntax only applied to literal value
Some ruby syntax is only applied to literal value.
...
tompng (tomoya ishida)
09:09 AM Bug #9115: Logger traps all exceptions; breaks Timeout
"defensive" code like that is just broken, no one should `rescue Exception`.
Let's remove that outer `rescue`?
If `...
Eregon (Benoit Daloze)
09:03 AM Revision 4655d210 (git): Lrama v0.5.6
yui-knk (Kaneko Yuichiro)
09:00 AM Misc #19772: API naming for YARP compiler
@mame Thanks for the clarifications, notably about the name.
My impression is if YARP supports multiple Ruby grammar...
Eregon (Benoit Daloze)
07:23 AM Revision c75d54a3 (git): Fixup 1851824b1c7b816e41b567b5310bb18ab6f9ff7a
hsbt (Hiroshi SHIBATA)
07:07 AM Bug #19872: TestRequireLib#test_thread_size test case is unstable
Have not chance to test it yet, but the change LGTM. Thx! vo.x (Vit Ondruch)
01:43 AM Bug #19872 (Closed): TestRequireLib#test_thread_size test case is unstable
Applied in changeset commit:git|234722ed9fce33d7ec8152920636af663d527912.
----------
[Bug #19872] Refine TestRequire...
nobu (Nobuyoshi Nakada)
07:01 AM Revision 1851824b (git): [flori/json] alias_method is private on Ruby 2.3 and 2.4
https://github.com/flori/json/commit/573ef94bc5 hsbt (Hiroshi SHIBATA)
06:36 AM Feature #19075: Binary searching for the last element
FYI: Julia has `searchsortedfirst` and `searchsortedlast`
https://docs.julialang.org/en/v1/base/sort/#Base.Sort.sear...
kyanagi (Kouhei Yanagita)
01:23 AM Feature #19075: Binary searching for the last element
(In the following, searching for the last element will be referred to as "LAST".)
There are often cases where sear...
kyanagi (Kouhei Yanagita)
05:58 AM Feature #19839: Need a method to check if two ranges overlap
I believe there are a few reasons for this addition. The core one I see often in justifications is precedence in exis... baweaver (Brandon Weaver)
05:19 AM Feature #19839: Need a method to check if two ranges overlap
Honestly, I can't give a formal reason. But I do believe it's a very basic operation. For example, postgres and boost... shouichi (Shouichi Kamiya)
03:11 AM Revision e22086bb (git): Enable `.NOTPARALLEL` on `ripper_srcs`
And add special treats only for old GNU make. nobu (Nobuyoshi Nakada)
03:08 AM Misc #19858: DevMeeting-2023-09-14
* [Bug #17146] Queue operations are allowed after it is frozen (jeremyevans0)
* Last discussed at October 2020 dev...
jeremyevans0 (Jeremy Evans)
01:43 AM Revision 234722ed (git): [Bug #19872] Refine TestRequireLib
Always test only the scripts just under “lib", and just under
child directories which has not the same name script in...
nobu (Nobuyoshi Nakada)
01:24 AM Revision 435b2439 (git): Suppress an unused variable warning
nobu (Nobuyoshi Nakada)
12:59 AM Bug #19876 (Closed): Equality chaining
Okay. I will make this behavior match. kddnewton (Kevin Newton)
12:55 AM Bug #19876: Equality chaining
I think it is by design. They are marked as `%nonassoc` in parse.y.
https://github.com/ruby/ruby/blob/6e64d4370456...
mame (Yusuke Endoh)
12:46 AM Bug #19876 (Closed): Equality chaining
It appears that you cannot chain `==`, `!=`, `<=>`, `=~`, `!~`, `===`:
``` ruby
foo == bar == baz
```
but you...
kddnewton (Kevin Newton)
12:55 AM Revision c421f08f (git): [ruby/yarp] Handle parsing local variable singleton method definition
https://github.com/ruby/yarp/commit/943204d56f kddnewton (Kevin Newton)

09/12/2023

11:30 PM Bug #19862 (Closed): argument stack underflow compile error happens for the combination of and/or & one line pattern matching
Applied in changeset commit:git|6e64d4370456190541705ec4c6cf3af6bf4ac647.
----------
[Bug #19862] Skip compiled resu...
nobu (Nobuyoshi Nakada)
11:30 PM Revision 6e64d437 (git): [Bug #19862] Skip compiled result of never reachable expression
nobu (Nobuyoshi Nakada)
11:28 PM Bug #19861 (Closed): Ripper does not fire any error event on unfinished heredoc
nobu (Nobuyoshi Nakada)
09:45 PM Bug #19754 (Closed): `IO::Buffer#get_string` raises unsuitable exception for too large offset
Applied in changeset commit:git|19346c2336053b351673da030b00c704138252d8.
----------
[Bug #19754] Make `IO::Buffer#g...
nobu (Nobuyoshi Nakada)
05:27 AM Bug #19754 (Assigned): `IO::Buffer#get_string` raises unsuitable exception for too large offset
nobu (Nobuyoshi Nakada)
09:45 PM Revision 19346c23 (git): [Bug #19754] Make `IO::Buffer#get_string` check `offset` range (#8016)
nobu (Nobuyoshi Nakada)
09:32 PM Feature #19737 (Rejected): Add `IO::Buffer#cat` for concat `IO::Buffer` instances
It's probably not obvious given how existing Ruby code traditionally works, but in the above code, `a` and `b` are ze... ioquatix (Samuel Williams)
08:51 PM Misc #19772: API naming for YARP compiler
I would add that if the yarp gem had straight multi-version support like the parser gem, such a mechanism is not even... mame (Yusuke Endoh)
08:37 PM Misc #19772: API naming for YARP compiler
Hi @kddnewton
kddnewton (Kevin Newton) wrote in #note-22:
> From this thread and others, this is my understanding of...
mame (Yusuke Endoh)
08:33 PM Revision 11c32e33 (git): Adjust CGI spec to pass when ran in isolation
It failed with `NameError` because `Html3` is defined in the file that
`CGI::HtmlExtension` autoloads.
alanwu (Alan Wu)
08:31 PM Revision 5edabd1c (git): [DOC] RDoc for Process::Status (#8416)
burdettelamar (Burdette Lamar)
07:42 PM Revision d43765c3 (git): [rubygems/rubygems] Unify LockfileParser loading of SPECS section
Ensure unrecognized SPECS types are ignored
https://github.com/rubygems/rubygems/commit/5b33e91075
martinemde (Martin Emde)
05:52 PM Revision 0ae7f2d1 (git): YJIT: Add compilation time counter (#8417)
* YJIT: Add compilation time counter
* YJIT: Use Instant instead
k0kubun (Takashi Kokubun)
03:44 PM Revision a98209b8 (git): [ruby/yarp] Split AliasNode
Into AliasGlobalVariableNode and AliasMethodNode. These have different
enough semantics that we feel comfortable spli...
kddnewton (Kevin Newton)
03:25 PM Feature #19777 (Closed): Make `Kernel#lambda` raise when called without a literal block
Applied in changeset commit:git|39ee3e22bd3d071c1c283b6b8dbd1af413342fb1.
----------
Make Kernel#lambda raise when g...
alanwu (Alan Wu)
03:25 PM Revision 39ee3e22 (git): Make Kernel#lambda raise when given non-literal block
Previously, Kernel#lambda returned a non-lambda proc when given a
non-literal block and issued a warning under the `:...
alanwu (Alan Wu)
03:20 PM Revision b90272b3 (git): Fix typo in gc.c
peterzhu2118 (Peter Zhu)
02:28 PM Revision 385033ba (git): Ensure signaled processes at opening FIFO terminated
nobu (Nobuyoshi Nakada)
02:18 PM Bug #19875 (Open): Ruby 3.0 -> 3.1 Performance regression in String#count
`String#count` became slower since Ruby 3.1. Originally found by `@Freaky`: https://github.com/ruby/ruby/pull/4001#is... iz (Illia Zub)
01:39 PM Revision 39336c1a (git): [ruby/yarp] Heredocs can create Interpolated(X)StringNodes or
(X)StringNodes
(https://github.com/ruby/yarp/pull/1427)
Prior to this commit, heredocs were automatically Interpolat...
jemmai (Jemma Issroff)
01:27 PM Feature #19874 (Closed): Re-introduce heap sort by pinned count prior to GC compaction
See Github PR: [#8420](https://github.com/ruby/ruby/pull/8420)
<hr />
## Introduction
In Ruby 2.7 compaction...
eightbitraptor (Matt V-H)
01:11 PM Feature #19790: Optionally write Ruby crash reports into a file rather than STDERR
I've backported @nobu's branch on our 3.2 rubies and it's been working very well. Not too sure what is missing. byroot (Jean Boussier)
01:02 PM Revision b5578557 (git): Restore `in_defined` flag at nested `defined?`
nobu (Nobuyoshi Nakada)
12:11 PM Revision fe3eff08 (git): [ruby/yarp] Move the post required parameters after the rest parameter
* See https://github.com/ruby/yarp/issues/1436
https://github.com/ruby/yarp/commit/6f4e9ff940
Eregon (Benoit Daloze)
11:51 AM Feature #19871 (Rejected): Add __owner__
Eregon (Benoit Daloze)
09:55 AM Feature #19871: Add __owner__
mame (Yusuke Endoh) wrote in #note-2:
> Could you explain the use case?
It's supposed to make sure a general-use ...
konsolebox (K B)
09:47 AM Feature #19871: Add __owner__
nobu (Nobuyoshi Nakada) wrote in #note-3:
> Why not use the constant without scopes?
>
> ```ruby
> module M
> ...
konsolebox (K B)
06:59 AM Feature #19871: Add __owner__
Why not use the constant without scopes?
```ruby
module M
C = 1234
def m
puts "C: #{C}" #=> C: 1234
end
e...
nobu (Nobuyoshi Nakada)
06:54 AM Feature #19871: Add __owner__
Could you explain the use case? mame (Yusuke Endoh)
09:31 AM Feature #19839 (Open): Need a method to check if two ranges overlap
Thanks. Basically, we didn't add new methods from ActiveSupport without performance reason.
Can you describe why w...
hsbt (Hiroshi SHIBATA)
08:54 AM Feature #19839: Need a method to check if two ranges overlap
Though ActiveSupport's `overlaps?` method is enough for our use-case. I think the feature is so fundamental that it s... shouichi (Shouichi Kamiya)
07:53 AM Feature #19839 (Feedback): Need a method to check if two ranges overlap
ActiveSupport already have `overlaps?` method.
* https://api.rubyonrails.org/classes/Range.html#method-i-overlaps-...
hsbt (Hiroshi SHIBATA)
09:08 AM Bug #19844 (Feedback): Ruby 3.2 fails to build with openssl version 3
I'm not sure why you use local installation of OpenSSL 3. I recommend to use libssl provided by Ubuntu 22.04. hsbt (Hiroshi SHIBATA)
08:04 AM Bug #19794 (Assigned): Ruby 3.2.2 fails to build on macOS Sonoma betas
We should avoid to non-existence directory for fresh install of macOS.
@nobu Can you investigate this?
hsbt (Hiroshi SHIBATA)
06:51 AM Bug #19872: TestRequireLib#test_thread_size test case is unstable
Maybe this is becaue the test of `TestRequireLib` does sampling: https://github.com/ruby/ruby/blob/f1c78b23313e63eb31... mame (Yusuke Endoh)
06:10 AM Revision f1c78b23 (git): Suppress warning for shadowing outer local variable
hsbt (Hiroshi SHIBATA)
05:23 AM Misc #19858: DevMeeting-2023-09-14
* [Bug #19868] `Process::Status` methods for compatibility with `Fixnum` (nobu)
* Looking at commit:54274b8c65a0981...
nobu (Nobuyoshi Nakada)
04:40 AM Feature #19075: Binary searching for the last element
I think the workaround is good enough. Do you have a good use case to introduce this?
The proposed behavior is not...
mame (Yusuke Endoh)
03:58 AM Bug #19873 (Closed): Thread#native_thread_id is incorrectly cached across fork on Linux
On Linux, when a process forks, the native thread ID of the (only) thread in the forked child should change.
```
...
kjtsanaktsidis (KJ Tsanaktsidis)

09/11/2023

09:49 PM Revision 8953fc77 (git): [ruby/yarp] Provide a flag for the integer base
https://github.com/ruby/yarp/commit/45dd046b83 kddnewton (Kevin Newton)
09:42 PM Revision b7ffa74d (git): [ruby/yarp] Introduce MatchLastLineNode and InterpolatedMatchLastLineNode
These are replacements for regular expressions when they are used
alone as the predicate of a conditional. That's bec...
kddnewton (Kevin Newton)
09:40 PM Revision aa69bd84 (git): Use constant lookup for constant names
kddnewton (Kevin Newton)
09:40 PM Revision bfc82fe1 (git): Remove deprecated aliases from yarp compiler
kddnewton (Kevin Newton)
09:32 PM Revision 14a83e08 (git): [ruby/yarp] Update pretty_print to use inspect
https://github.com/ruby/yarp/commit/c2b9b780c7 kddnewton (Kevin Newton)
09:06 PM Revision 203fdd73 (git): [rubygems/rubygems] Fixed include realpath in error statement
https://github.com/rubygems/rubygems/commit/ac3b85bd5e negi0109
09:06 PM Revision 8bb61077 (git): [rubygems/rubygems] Fixed false positive SymlinkError in symbolic link directory
https://github.com/rubygems/rubygems/commit/58173ff2ea negi0109
05:09 PM Revision 1ae5dd6f (git): Rename `NODE_NEW_TEMPORAL` as `NODE_NEW_INTERNAL`
nobu (Nobuyoshi Nakada)
04:18 PM Revision 719f8344 (git): [ruby/yarp] Mark flags as private
The flags integer is an implementation detail. We want people to
use the query methods to access the individual field...
kddnewton (Kevin Newton)
03:25 PM Revision 05a853c2 (git): [ruby/yarp] Update fixtures
https://github.com/ruby/yarp/commit/884f2ca8e4 Tim Morgan
03:25 PM Revision 5a8767ed (git): [ruby/yarp] Fix order of Regexp flags
https://github.com/ruby/yarp/commit/e421305ea2 Tim Morgan
03:25 PM Revision 689dffc8 (git): [ruby/yarp] Add failing test for Regexp flags
https://github.com/ruby/yarp/commit/16fe179c5f Tim Morgan
02:09 PM Bug #19872: TestRequireLib#test_thread_size test case is unstable
vo.x (Vit Ondruch) wrote in #note-1:
> Or is it issue of the respective libraries, which does not support proper loa...
vo.x (Vit Ondruch)
02:07 PM Bug #19872: TestRequireLib#test_thread_size test case is unstable
Maybe predefining some well know namespaces could help? Or is it issue of the respective libraries, which does not su... vo.x (Vit Ondruch)
02:05 PM Bug #19872 (Closed): TestRequireLib#test_thread_size test case is unstable
Just exploring the difference in skipped test cases, it seems to be due to `TestRequireLib#test_thread_size`. One tes... vo.x (Vit Ondruch)
03:23 AM Revision b1f0d009 (git): Use the keyword for output and omit default arguments [ci skip]
nobu (Nobuyoshi Nakada)
02:06 AM Revision 05046b89 (git): Add `modencs` target to build encodings/transcoders as modules
nobu (Nobuyoshi Nakada)
02:04 AM Revision 2cc32ad6 (git): Split commit recipe and pass more macros
nobu (Nobuyoshi Nakada)

09/10/2023

03:03 PM Feature #19871: Add __owner__
The changes needed to implement this turned out to be just simple so I went ahead and just created a PR in https://gi... konsolebox (K B)
07:58 AM Feature #19871 (Rejected): Add __owner__
Which will give the owner of the currently executing method.
`method(__method__).owner` or `method(__callee__).own...
konsolebox (K B)
12:56 PM Misc #19870 (Feedback): Why is a long-run thread allocated more memory than a short-run one?
1048936 - 360 = 1048576 = 0x100000
A terminated thread no longer keeps its stack area.
nobu (Nobuyoshi Nakada)
05:56 AM Misc #19870 (Feedback): Why is a long-run thread allocated more memory than a short-run one?
I want to write multithreading programing in Ruby but I found the following memory consumptions.
```
$ irb
irb(m...
caracal (Taishi Kasuga)
12:37 PM Revision b8d0ab80 (git): Declare `k_class` and `k_module` as `ctxt`
So that it is not ncessary to specify the type each time. nobu (Nobuyoshi Nakada)
10:46 AM Revision 16882d4e (git): Add a new line between function definitions [ci skip]
yui-knk (Kaneko Yuichiro)
10:45 AM Revision b5914a72 (git): Refactor to use same logic with other assignment nodes
yui-knk (Kaneko Yuichiro)
10:39 AM Revision 0e49f817 (git): [DOC] Fix method docs of scheduler#io_read and scheduler#io_write
Each of Fiber::Scheduler#io_read and io_write takes the "offset" as the fourth argument, which is not doucmented. kudojp (Daiki Kudo)
10:33 AM Revision b926ac51 (git): [DOC] Fix a typo in "Open Options" section of IO
The word "and" was missing. herwin (Herwin W)
10:20 AM Revision f2102e40 (git): Set ripper_init.c.tmpl to C mode [ci skip]
nobu (Nobuyoshi Nakada)

09/09/2023

02:02 PM Feature #19842: Introduce M:N threads
`Ractor.shareable` is a C function that doesn't call back into the interpreter under usual circumstances, so won't be... luke-gru (Luke Gruber)
10:33 AM Bug #19788: Ripper returns a symbol instead of a token as operator for "::"
ruby_3_2 bb877e5b4fe81965af60a0d86daeb8ed477e8e87 merged revision(s) 382678d4112f4afc6272244c22924d2b004274b1. nagachika (Tomoyuki Chikanaga)
10:33 AM Revision bb877e5b (git): merge revision(s) 382678d4112f4afc6272244c22924d2b004274b1: [Backport #19788]
[Bug #19788] Use the result of `tCOLON2` event
---
parse.y | 16 ++++++++...
nagachika (Tomoyuki Chikanaga)
09:52 AM Bug #19837: Concurrent calls to Process.waitpid2 misbehave on Ruby 3.1 & 3.2
Merged into ruby_3_2 branch at 0b7a4fbaa9c56d2c67d00d86c69f9e5c71803267.
Thank you!
nagachika (Tomoyuki Chikanaga)
09:51 AM Bug #19387 (Closed): ObjectSpace.each_objects only returns shareable objects after starting a Ractor
Applied in changeset commit:git|0b7a4fbaa9c56d2c67d00d86c69f9e5c71803267.
----------
Allow waitpid(-1) to be woken i...
Anonymous
09:51 AM Revision 0b7a4fba (git): Allow waitpid(-1) to be woken if a waitpid(pid) call is pending
If two threads are running, with one calling waitpid(-1), and another
calling waitpid($some_pid), and then $some_othe...
KJ Tsanaktsidis

09/08/2023

11:08 PM Revision b635a66e (git): [DOC] Update Reline and IRB's maintainers list (#8406)
Update Reline and IRB's maintainers list
Maintainers' order follows the same order they appear in the projects'
cont...
Stan Lo
10:30 PM Revision 90dad2b1 (git): memory_view: Avoid using bit field
Bit field's memory layout is implementation-defined.
See also:
https://wiki.sei.cmu.edu/confluence/display/c/EXP11-C...
Sutou Kouhei
08:33 PM Revision d9ede181 (git): [YARP] Extract YP_COMPILE helper (#8403)
jemmai (Jemma Issroff)
07:52 PM Revision 1f35789f (git): Update default gems list at f4443f3b1c6dd70b6b22470a7d5f87 [ci skip]
git[bot]
07:50 PM Revision f4443f3b (git): [ruby/yarp] Increment version
https://github.com/ruby/yarp/commit/2b41ceb754 kddnewton (Kevin Newton)
07:38 PM Revision c0f162ca (git): [ruby/yarp] Template out a comment_targets method
https://github.com/ruby/yarp/commit/a94af7c4c8 kddnewton (Kevin Newton)
07:38 PM Revision 5d73c0f3 (git): [ruby/yarp] Move parse result mutations into their own files
https://github.com/ruby/yarp/commit/3be8272fa2 kddnewton (Kevin Newton)
07:33 PM Revision 7fc4db35 (git): [YARP] Implement compilation for RationalNodes, fix other num types (#8404)
jemmai (Jemma Issroff)
06:10 PM Revision 6050b5a4 (git): [ruby/yarp] Add ParseResult#attach_comments! to tie comments to their locations
https://github.com/ruby/yarp/commit/ddc699156f
Co-authored-by: Kevin Newton <[email protected]>
Vinicius Stock
04:45 PM Revision 7f53da94 (git): Fix weak_references count test
This test creates a lot of Objects held in an array, and a set of weak
references to them using WeakMap. It then clea...
eightbitraptor (Matt V-H)
04:33 PM Revision 60ef156b (git): [DOC] Kernel#{proc,lambda} don't issue warnings anymore
They've been raising since 3.0.0. alanwu (Alan Wu)
04:09 PM Revision af5df9ee (git): [YARP] Implement compilation for Regex / InterpolatedRegex (#8396)
jemmai (Jemma Issroff)
03:37 PM Bug #19869: Mark skipped test somehow
Ok, adding `TESTS="--show-skip"` makes the difference. Such tests are reported at the end of the run of test suite, e... vo.x (Vit Ondruch)
03:01 PM Bug #19869 (Open): Mark skipped test somehow
When Minitest was used to execute the Ruby test suite, skipped test were cleanly marked, e.g.:
~~~
[14036/25715] ...
vo.x (Vit Ondruch)
02:40 PM Revision 8807b0dc (git): [YARP] Implement compilation for InterpolatedXStringNode (#8395)
* [YARP] Implemented compilation for InterpolatedXStringNode
* Extract common function for interpolated nodes
jemmai (Jemma Issroff)
01:40 PM Revision c7d61181 (git): [ruby/yarp] Flatten multitarget into multiwrite
https://github.com/ruby/yarp/commit/1021dac372 kddnewton (Kevin Newton)
01:40 PM Revision f39b576e (git): [ruby/yarp] Multi target nodes
https://github.com/ruby/yarp/commit/fa53fe88e4 kddnewton (Kevin Newton)
08:44 AM Revision be21a056 (git): Try default `gcc` 9.4.0 to see if it exhibits the same compiler bugs. (#8394)
* Revert "Extract `do_mutex_lock_check_interrupts` to try and fix `ppc64le`. (#8393)"
This reverts commit 5184b40dd4...
Samuel Williams
03:26 AM Revision 15fd8976 (git): Bump actions/cache from 3.3.1 to 3.3.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/act...
dependabot[bot]
03:22 AM Revision b6df6f91 (git): Continue even if addr or rnglists headers not found
Fix up commit 31d1226, "Avoid aborting inside addr2line.c".
Source code informations did not appear in C level backtr...
nobu (Nobuyoshi Nakada)
03:15 AM Revision 78233e83 (git): Add `String#getbyte` YJIT implementation (#8397)
* Add getbyte JIT implementation
Adds an implementation for String#getbyte for YJIT, along with a
bootstrap test. Th...
Ian Candy
03:15 AM Revision 89edce43 (git): YJIT: Decrease IVAR_MAX_DEPTH to 8 (#8398)
k0kubun (Takashi Kokubun)

09/07/2023

08:51 PM Revision 094f336a (git): GC: Only force alloc slowpath for NEWOBJ hook
Previously, configuring any GC event hook would cause all allocations to
go through the newobj slowpath. We should on...
jhawthorn (John Hawthorn)
08:51 PM Revision aed52151 (git): Optimize handle_interrupt(Exception => ..) as a common case
When interrupt behavior is configured for all possible exceptions using
'Exception', there's no need to iterate the p...
matthewd (Matthew Draper)
08:51 PM Revision ed712e0e (git): Skip allocation if handle_interrupt arg is already usable
If the supplied hash is already frozen and compare-by-identity, we can
use it directly (still checking its contents a...
matthewd (Matthew Draper)
06:22 PM Revision fcdedf7f (git): YJIT: Decrease SEND_MAX_DEPTH to 5 (#8390)
k0kubun (Takashi Kokubun)
06:13 PM Revision 60a52caf (git): [ruby/yarp] Avoid an extra "stop" parameter to yp_strspn_whitespace_newlines
and use yp_strspn_inline_whitespace instead.
Partially reverts implementation details from #1152
https://github.com...
mdalessio (Mike Dalessio)
05:57 PM Revision 5b5ae3d9 (git): Rewrite Integer#times in Ruby (#8388)
k0kubun (Takashi Kokubun)
04:36 PM Revision 4efcaf95 (git): [ruby/yarp] Extract error messages into diagnostic.c and use canonical message IDs
The parser now passes around `yp_diagnostic_id_t` for diagnostic
messages instead of character strings, and we rely o...
mdalessio (Mike Dalessio)
04:31 PM Revision 2d37b446 (git): Document that thread event hooks are called without the GVL
Except for the `RESUMED` event. byroot (Jean Boussier)
02:59 PM Revision 7adc38b8 (git): [YARP] Miscellaneous small bug fixes (#8387)
jemmai (Jemma Issroff)
02:02 PM Revision 630e4901 (git): [ruby/yarp] remove now-redundant `YP_TOKEN_NOT_PROVIDED_VALUE`
https://github.com/ruby/yarp/commit/8f9a3c2345 froydnj (Nathan Froyd)
02:02 PM Revision 44b52c54 (git): [ruby/yarp] use `YP_LOCATION_*_VALUE` macros more consistently
https://github.com/ruby/yarp/commit/bcad93e2fc froydnj (Nathan Froyd)
02:01 PM Revision 194584f2 (git): [ruby/yarp] Introduce owned constants
Before this commit, constants in the constant pool were assumed to
be slices of the source string. This works in _alm...
kddnewton (Kevin Newton)
01:54 PM Revision 0adca625 (git): Remove function call for String#bytesize (#8389)
* Remove function call for String#bytesize
String size is stored in a consistent location, so we can eliminate the
f...
tenderlovemaking (Aaron Patterson)
01:10 PM Revision 0c892872 (git): [YARP] Use the correct field for the name on classes and modules
kddnewton (Kevin Newton)
12:42 PM Revision 14970cfc (git): [ruby/yarp] Constants and def nodes
https://github.com/ruby/yarp/commit/6b2421ce1b kddnewton (Kevin Newton)
12:42 PM Revision 9343ef25 (git): [ruby/yarp] Constants on rest parameter nodes
https://github.com/ruby/yarp/commit/a6fdb8aae9 kddnewton (Kevin Newton)
12:42 PM Revision 3f78eec4 (git): [ruby/yarp] Constants on keyword rest parameters
https://github.com/ruby/yarp/commit/5e1a8fbc54 kddnewton (Kevin Newton)
12:42 PM Revision 9e21b33e (git): [ruby/yarp] Constants on keyword parameters
https://github.com/ruby/yarp/commit/d2d4f25a23 kddnewton (Kevin Newton)
12:41 PM Revision e2a0f258 (git): [ruby/yarp] Remove name constant from classes/modules
https://github.com/ruby/yarp/commit/26105f0b58 kddnewton (Kevin Newton)
12:32 PM Revision 5184b40d (git): Extract `do_mutex_lock_check_interrupts` to try and fix `ppc64le`. (#8393)
We found some tests were hanging in `do_mutex_lock`, specifically the
fiber scheduler autoload test. After much inves...
Samuel Williams
06:59 AM Revision 009e0a3f (git): Update bundled gems list at 2023-09-07
git[bot]
06:07 AM Bug #19549 (Closed): Inconsistency in backref parsing
Applied in changeset commit:git|bd046764e31267c83e7ae515d9bc7f09ffaa5b95.
----------
[Bug #19549] Check for variable...
nobu (Nobuyoshi Nakada)
04:41 AM Revision bd046764 (git): [Bug #19549] Check for variables to be interpolated
nobu (Nobuyoshi Nakada)
03:15 AM Bug #19868 (Closed): `Process::Status` methods for compatibility with `Fixnum`
Looking at commit:54274b8c65a0981f1c69055a1513ba3c614dd675, noticed that `pst_rshift` contains shift by a negative in... nobu (Nobuyoshi Nakada)
01:53 AM Revision 05aaff21 (git): Reduce number of iterations in `TestFiberScheduler#test_autoload`. (#8391)
`ppc64le` appears to be struggling with this test due to timeout. Let's see
if reducing the number of iterations can ...
Samuel Williams
01:05 AM Revision ac65fc83 (git): [DOC] Fix up Process::Status#>>
nobu (Nobuyoshi Nakada)
12:33 AM Revision 89cb9567 (git): [rubygems/rubygems] Reduce excess index creation and merging
When @allow_cached is true, @allow_local is always true,
therefore, the #installed_specs will always be merged after ...
martinemde (Martin Emde)
12:33 AM Revision 86b93f74 (git): [rubygems/rubygems] Improve efficiency of Index#use and #search_all
Rename Index#use(override = true) to #merge!
Rename Index @all_specs to @duplicates, it is not actually all specs.
@...
martinemde (Martin Emde)
12:33 AM Revision af1bedbb (git): [rubygems/rubygems] Source::Rubygems#fetch_names is only called with override = false
https://github.com/rubygems/rubygems/commit/790202691d martinemde (Martin Emde)
 

Also available in: Atom