Project

General

Profile

Activity

From 08/03/2023 to 08/09/2023

08/09/2023

10:28 PM Revision 984109b8 (git): [ruby/irb] Skip nested IRB tests in Ruby Core CI
(https://github.com/ruby/irb/pull/675)
Sometimes the subprocess gets stuck in the nested IRB session until timed
out. We don't have enough information to debug it yet, so skip the tests
to unblock CI.
https://github.com/ruby/irb/commit...
st0012 (Stan Lo)
09:46 PM Revision 1ccd0eae (git): YJIT: Chain guard method IDs for respond_to? (#8196)
k0kubun (Takashi Kokubun)
07:34 PM Revision 493acaf4 (git): YJIT: Distinguish exit and fallback reasons for invokesuper/invokeblock (#8194)
YJIT: Distinguish exit and fallback reasons
for invokesuper/invokeblock
k0kubun (Takashi Kokubun)
06:07 PM Bug #19836 (Closed): Parser leaks memory for incomplete lambdas
Applied in changeset commit:git|0b8f15575a440f85ac686f5b0eae8f8b7c2b72e7.
----------
Fix memory leak for incomplete lambdas
[Bug #19836]
The parser does not free the chain of `struct vtable`, which causes
memory leaks.
The following ...
peterzhu2118 (Peter Zhu)
04:24 PM Bug #19836 (Closed): Parser leaks memory for incomplete lambdas
GitHub Pull Request: https://github.com/ruby/ruby/pull/8192
The parser does not free the chain of `struct vtable`, which causes memory leaks.
The following script reproduces this issue:
```ruby
10.times do
100_000.times do
...
peterzhu2118 (Peter Zhu)
06:07 PM Bug #19835 (Closed): Parser leaks memory for incomplete tokens
Applied in changeset commit:git|5bc8fceca8d47ed1ef9c603c6531a408de36b60c.
----------
Fix memory leak in parser for incomplete tokens
[Bug #19835]
The parser does not free the `tbl` of the `struct vtable` when there are
leftover `lvtbl...
peterzhu2118 (Peter Zhu)
03:08 PM Bug #19835 (Closed): Parser leaks memory for incomplete tokens
GitHub Pull Request: https://github.com/ruby/ruby/pull/8192
The parser does not free the `tbl` of the `struct vtable` when there are leftover `lvtbl` in the parser. This causes a memory leak.
The following script reproduces this is...
peterzhu2118 (Peter Zhu)
06:06 PM Revision 0b8f1557 (git): Fix memory leak for incomplete lambdas
[Bug #19836]
The parser does not free the chain of `struct vtable`, which causes
memory leaks.
The following script reproduces this issue:
```
10.times do
100_000.times do
Ripper.parse("-> {")
end
puts `ps -o rss= -p #{$$}`...
peterzhu2118 (Peter Zhu)
06:06 PM Revision 5bc8fcec (git): Fix memory leak in parser for incomplete tokens
[Bug #19835]
The parser does not free the `tbl` of the `struct vtable` when there are
leftover `lvtbl` in the parser. This causes a memory leak.
The following script reproduces this issue:
```
10.times do
100_000.times do
Ripper...
peterzhu2118 (Peter Zhu)
05:16 PM Revision d3efce69 (git): YJIT: Count throw instructions for each tag (#8188)
* YJIT: Count throw instructions for each tag
* Show % of each throw type
k0kubun (Takashi Kokubun)
05:12 PM Revision c9b30f9d (git): YJIT: implement imul instruction encoding in x86 assembler (#8191)
maximecb (Maxime Chevalier-Boisvert)
04:21 PM Revision a41c617e (git): Implement MUL instruction for aarch64 (#8193)
kddnewton (Kevin Newton)
03:49 PM Feature #19832: Method#destructive?, UnboundMethod#destructive?
kddnewton (Kevin Newton) wrote in #note-16:
> I don't understand how you would go about statically detecting instance variable mutations.
Actually I'm starting to think this is doable. If we restrict ourselves to methods invoked on `sel...
Dan0042 (Daniel DeLorme)
01:31 PM Feature #19832: Method#destructive?, UnboundMethod#destructive?
> ```ruby
> ...
Well look at that! You learn something new every day :-D
Dan0042 (Daniel DeLorme)
01:24 PM Feature #19832: Method#destructive?, UnboundMethod#destructive?
I don't understand how you would go about statically detecting instance variable mutations. Consider
``` ruby
class Foo
def bar = instance_variable_set(:@baz, 1)
end
```
is `bar` "functionally pure" or not? Is it "destructive...
kddnewton (Kevin Newton)
01:17 PM Feature #19832: Method#destructive?, UnboundMethod#destructive?
Dan0042 (Daniel DeLorme) wrote in #note-13:
> it opens a big can of worms in terms of where do you draw the line for how the 'destructive' flag propagates? Which of those foo methods would you consider to be destructive?
I was really...
janosch-x (Janosch Müller)
08:21 AM Feature #19832: Method#destructive?, UnboundMethod#destructive?
Dan0042 (Daniel DeLorme) wrote in #note-13:
> shyouhei (Shyouhei Urabe) wrote in #note-12:
> ...
```ruby
STDOUT.freeze.printf("Hello, World!")
```
But yes, I agree that the word "destructive" here is kind of vague, and we are seei...
shyouhei (Shyouhei Urabe)
03:45 AM Feature #19832: Method#destructive?, UnboundMethod#destructive?
janosch-x (Janosch Müller) wrote in #note-11:
> A lot of everyday Ruby code seems to be destructive, not so much by setting instance variables, but rather by modifying them (e.g. Arrays or Hashes).
shyouhei (Shyouhei Urabe) wrote in...
Dan0042 (Daniel DeLorme)
01:41 AM Feature #19832: Method#destructive?, UnboundMethod#destructive?
Asserting that a method is destructive in spite of it does not modify its receiver is kind of safe. The problem is to prove that a method marked as non-destructive actually never do so. This is arguably impossible.
Dan0042 (Daniel D...
shyouhei (Shyouhei Urabe)
02:57 PM Revision ab0f90f1 (git): [ruby/irb] Fix nested IRB sessions' history saving
(https://github.com/ruby/irb/pull/652)
1. Dynamically including `HistorySavingAbility` makes things unnecessarily
complicated and should be avoided.
2. Because both `Reline` and `Readline` use a single `HISTORY` constant
to store ...
st0012 (Stan Lo)
02:01 PM Bug #19834: Segmentation fault while running in docker
ramachandran@mallow-tech.com (Ramachandran A) wrote in #note-4:
> byroot (Jean Boussier) wrote in #note-3:
> ...
You probably can’t. The last version of Ruby 2.6 was Ruby 2.6.10, and you should try using that before trying to debug and...
austin (Austin Ziegler)
11:13 AM Bug #19834: Segmentation fault while running in docker
You can of course attempt to debug it and patch it yourself.
But that version being end of life means Ruby core won't spend time on it. And even if we wanted we couldn't because you didn't include nearly enough information anyway.
byroot (Jean Boussier)
10:22 AM Bug #19834: Segmentation fault while running in docker
byroot (Jean Boussier) wrote in #note-3:
> Ruby 2.6.3 has reached end of life aeons ago.
We are working on legacy project, we can't update the ruby version in our project. How can I solve this issue without upgrading Ruby?
Anonymous
09:38 AM Bug #19834 (Rejected): Segmentation fault while running in docker
Ruby 2.6.3 has reached end of life aeons ago. byroot (Jean Boussier)
07:31 AM Bug #19834: Segmentation fault while running in docker
This issue happens when ever I try to access the db from console or while making any request from browser.
ramachandran@mallow-tech.com (Ramachandran A) wrote:
> ```
> ...
> I am using Ruby 2.6.3 in my project. It works fine until t...
Anonymous
07:26 AM Bug #19834 (Rejected): Segmentation fault while running in docker
```
2023-08-09 12:44:32 /usr/local/lib/ruby/2.6.0/openssl/buffering.rb:383: [BUG] Illegal instruction at 0x0000ffff90d911a0
2023-08-09 12:44:32 ruby 2.6.3p62 (2019-04-16 revision 67580) [aarch64-linux]
2023-08-09 12:44:32
2023-08-09...
Anonymous
02:01 PM Misc #19766: DevMeeting-2023-08-24
* [Feature #19790] Optionally write Ruby crash reports into a file rather than STDERR (byroot)
* `STDERR` is often hard to exploit in production, as it's often shared by multiple process causing interwined logs.
* Being able to wri...
byroot (Jean Boussier)
01:54 PM Revision 6acfc50b (git): YJIT: Count all opt_getconstant_path exit reasons (#8187)
k0kubun (Takashi Kokubun)
01:47 PM Revision 5eef3ce2 (git): YJIT: Correct name of a counter (#8186)
alanwu (Alan Wu)
01:20 PM Feature #18360 (Closed): PrettyPrint enhancements
kddnewton (Kevin Newton)
01:19 PM Feature #18642 (Closed): Named ripper fields
kddnewton (Kevin Newton)
01:19 PM Feature #18654 (Closed): Enhancements to prettyprint
kddnewton (Kevin Newton)
01:19 PM Feature #13211 (Closed): Hash#delete taking a splat
kddnewton (Kevin Newton)
06:35 AM Revision 86f4415f (git): Prevent a warning: global variable `$VERSION' not initialized
mame (Yusuke Endoh)
06:34 AM Revision 48c3b086 (git): Prevent warnings: assigned but unused variable
mame (Yusuke Endoh)

08/08/2023

11:46 PM Revision 1b0da1e6 (git): Skip running brew upgrade (#8189)
This has been unstable:
https://github.com/ruby/ruby/actions/runs/5797755676/job/15713988590
and I'm not sure if we need that in the first place, assuming the
OS image itself is maintained by GitHub.
k0kubun (Takashi Kokubun)
11:06 PM Revision cd8d20cd (git): YJIT: Compile exception handlers (#8171)
Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> k0kubun (Takashi Kokubun)
08:32 PM Feature #19832: Method#destructive?, UnboundMethod#destructive?
Dan0042 (Daniel DeLorme) wrote in #note-10:
> For regular ruby code, probably the only way to know if a method is destructive is to check for instance variable assignments.
A lot of everyday Ruby code seems to be destructive, not s...
janosch-x (Janosch Müller)
07:28 PM Feature #19832: Method#destructive?, UnboundMethod#destructive?
This is a great idea. No doubt there are many cases where it's impossible to know *for sure* if a method is destructive or not, but it should be possible to make it good enough to be useful.
> Consider for instance Array#map. Is this ...
Dan0042 (Daniel DeLorme)
08:23 AM Feature #19832: Method#destructive?, UnboundMethod#destructive?
Well yes this property could be very useful for Ractor, JIT, and many more... except it's impossible.
Consider for instance `Array#map`. Is this method destructive? Well it _could_ be used in a destructive way. But who knows.
A...
shyouhei (Shyouhei Urabe)
01:44 PM Revision 74b9c7d2 (git): Remove wrapper functions of RVALUE_REMEMBERED
Functions rgengc_remembered, rgengc_remembered_sweep, and
rgengc_remembersetbits_get are just wrappers of RVALUE_REMEMBERED and
doesn't do much more. We can remove all those and use RVALUE_REMEMBERED
directly instead.
peterzhu2118 (Peter Zhu)
01:21 PM Revision 397a7755 (git): [ruby/yarp] Fix wrong conversion and cast
Conversions from `uint64_t`/`VALUE` to `long` may loose upper bits.
https://github.com/ruby/yarp/commit/c26f650d96
nobu (Nobuyoshi Nakada)
01:21 PM Revision d931bf22 (git): [ruby/yarp] Adjust indents [ci skip]
https://github.com/ruby/yarp/commit/2d1135769d nobu (Nobuyoshi Nakada)
12:04 PM Bug #19771: Backport Speed up rebuilding the loaded feature index and realpath cache - 79a4484, abfac22
The fix is reverted by the bot, is it possible to take another look at this issue?
https://github.com/ruby/ruby/pull/8023#ref-commit-1c76244
krk (Kerem Kat)
10:55 AM Bug #19833 (Closed): Superclass of BasicObject is broken.
Applied in changeset commit:git|72d1a790cfe0e4a457db98c587f1acaa5e39f001.
----------
[Bug #19833] Fix index underflow at superclasses of `BasicObject`
nobu (Nobuyoshi Nakada)
10:08 AM Bug #19833: Superclass of BasicObject is broken.
https://github.com/ruby/ruby/pull/8185 nobu (Nobuyoshi Nakada)
08:52 AM Bug #19833: Superclass of BasicObject is broken.
I can reproduce since 3.2.
```
$ docker run --platform linux/amd64 --rm -it ghcr.io/ruby/all-ruby env LANG=C.UTF-8 ALL_RUBY_SINCE=ruby-1.9 ./all-ruby -e 'class BasicObject; include ::Module.new; p superclass; end'
ruby-1.9.0-0 ...
znz (Kazuhiro NISHIYAMA)
08:34 AM Bug #19833 (Closed): Superclass of BasicObject is broken.
I encountered a phenomenon where a non-class object appeared in the superclass of BasicObject.
The minimum reproduction code is below.
```rb
module Mod
end
BasicObject.include Mod
# or BasicObject.prepend Mod
p BasicObject...
ksss (Yuki Kurihara)
10:37 AM Feature #19783: Weak References in the GC
An alternative to recording the weak reference **fields** during tracing is recording the **objects** that contain weak references on creation. For example, we can record a `imemo_callcache` into a darray when the `imemo_callcache` is c... wks (Kunshan Wang)
10:03 AM Revision 72d1a790 (git): [Bug #19833] Fix index underflow at superclasses of `BasicObject`
nobu (Nobuyoshi Nakada)
06:48 AM Feature #19790: Optionally write Ruby crash reports into a file rather than STDERR
> also afraid if this can work well in a signal handler.
Yeah, as @kjtsanaktsidis said, in theory the current one already use things that aren't async signal safe, so I don't think it really change much here.
`open(2)` should be as...
byroot (Jean Boussier)
05:34 AM Feature #19790: Optionally write Ruby crash reports into a file rather than STDERR
> afraid if this can work well in a signal handler.
The current bugreporter does lots of things which are not _really_ safe to do in a signal handler... even `fprintf` is not async-signal-safe (at least on Linux, according to signal-saf...
kjtsanaktsidis (KJ Tsanaktsidis)
01:24 AM Feature #19790: Optionally write Ruby crash reports into a file rather than STDERR
Note that the branch includes a testing feature, and is not ready to merge as-is. nobu (Nobuyoshi Nakada)
01:11 AM Feature #19790: Optionally write Ruby crash reports into a file rather than STDERR
byroot (Jean Boussier) wrote in #note-2:
> Thank you @nobu, I wasn't expecting someone to implement it :)
> ...
I'm positive, but also afraid if this can work well in a signal handler.
nobu (Nobuyoshi Nakada)
12:21 AM Revision 69292676 (git): Add message for `--ruby` option [ci skip]
nobu (Nobuyoshi Nakada)

08/07/2023

11:48 PM Revision 694d99dd (git): Share duplicate code between Wasm and the others
nobu (Nobuyoshi Nakada)
11:34 PM Revision 1a83474d (git): Simplify try-rescue loop
nobu (Nobuyoshi Nakada)
11:34 PM Revision 89dbca89 (git): Remove unnecessary braces which make indents confusing
nobu (Nobuyoshi Nakada)
11:09 PM Revision 0e5da05a (git): Do not double "yp_" prefix [ci skip]
nobu (Nobuyoshi Nakada)
06:44 PM Revision a5ffcfbd (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.79 to 0.9.81.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.79...v0.9.81)
---
updated-depende...
dependabot[bot]
05:12 PM Revision 33056c29 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.79 to 0.9.81.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.79...v0.9.81)
---
updated-depende...
dependabot[bot]
03:30 PM Revision 0387b86c (git): [ruby/irb] Remove unused `InputMethod#initialize`
(https://github.com/ruby/irb/pull/635)
* Remove unused InputMethod#initialize
The constructor takes a `file_name` argument, but it is never used. The
only input method that needs a file is `FileInputMethod`, which has its
own construct...
st0012 (Stan Lo)
01:51 PM Revision 589c01c4 (git): [DOC] RDoc for Process (#8179)
burdettelamar (Burdette Lamar)
07:18 AM Feature #19790: Optionally write Ruby crash reports into a file rather than STDERR
Thank you @nobu, I wasn't expecting someone to implement it :)
I take it that you are supportive of the feature?
byroot (Jean Boussier)
01:32 AM Revision 11f33ba6 (git): Add hints of tag jumps for optimization
Just as the state was originally passed as the return value of
`longjmp`, the state stored in EC cannot be 0 when the jump is
captured now too.
nobu (Nobuyoshi Nakada)

08/06/2023

09:45 AM Revision ef5b1d19 (git): Turn `jit_exec` and `jit_compile` into macros if disabled
nobu (Nobuyoshi Nakada)
09:45 AM Revision acd27e3e (git): Move `GC_CAN_COMPILE_COMPACTION` definition before used
nobu (Nobuyoshi Nakada)
04:46 AM Feature #19832: Method#destructive?, UnboundMethod#destructive?
This may have some very interesting use-cases around Ractor of forbidding any state mutation methods inside of Ractor contexts.
Many of us who program Ruby enough probably know what is destructive, sure, but having that officially wri...
baweaver (Brandon Weaver)
04:39 AM Feature #19832 (Rejected): Method#destructive?, UnboundMethod#destructive?
I propose to add `destructive?` property to `Method` and `UnboundMethod` instances, which shall behave like:
```ruby
String.instance_method(:<<).destructive? # => true
String.instance_method(:+).destructive? # => false
```
One m...
sawa (Tsuyoshi Sawada)
12:26 AM Revision 3651f985 (git): Exclude files added to the toplevel
nobu (Nobuyoshi Nakada)

08/05/2023

10:40 PM Revision af13b038 (git): Remove unnecessarily copied document [ci skip]
nobu (Nobuyoshi Nakada)
05:30 PM Revision ac07d881 (git): [ruby/yarp] Add a Requirements section in Build System docs
https://github.com/ruby/yarp/commit/298025314c Eregon (Benoit Daloze)
05:30 PM Revision 489120f1 (git): [ruby/yarp] Small fixes to docs/build_system.md
https://github.com/ruby/yarp/commit/f9db0c282b
Co-authored-by: Mike Dalessio <mike.dalessio@gmail.com>
Eregon (Benoit Daloze)
05:30 PM Revision 11f10bb1 (git): [ruby/yarp] Clarify shared library
https://github.com/ruby/yarp/commit/0b174b76f1
Co-authored-by: Mike Dalessio <mike.dalessio@gmail.com>
Eregon (Benoit Daloze)
05:30 PM Revision 70ef66f2 (git): [ruby/yarp] Document the build system of YARP
https://github.com/ruby/yarp/commit/85ae0e2816 Eregon (Benoit Daloze)
02:07 PM Feature #19790: Optionally write Ruby crash reports into a file rather than STDERR
https://github.com/nobu/ruby/tree/bugreport_path
Implemented `%%`, `%e`, `%E`, `%f`, `%F`, `%p`, `%t` and `%NNN`(octal).
When invoking pipe, the string is split with white spaces first without quoting, `%040` would be useful to repre...
nobu (Nobuyoshi Nakada)
09:56 AM Revision 4e6861d3 (git): Fix `Gem::BUNDLED_GEMS.find_gem` return value
If the required name is different from the found gem name, return the
gem name, instead of true that means the required name is an exact gem
name.
nobu (Nobuyoshi Nakada)
03:50 AM Revision e176f841 (git): Just suppress a warning for non-Emscripten Wasm build
Revert "Revert "Skip calling jit_exec on Wasm""
This reverts commit 2e94610f70baca4af004202f288a6b5dd10889ca.
It's not about whether it's optimized away or not. I just don't want to
leave and maintain the callsite (e.g. signature) in t...
k0kubun (Takashi Kokubun)
03:12 AM Revision 2e94610f (git): Revert "Skip calling jit_exec on Wasm"
This reverts commit e80752f9bbc5228dba3066cd95a81e2e496bd9d7.
RJIT and YJIT are never enabled on Wasm. When both are disabled,
`jit_exec` is defined to return `Qundef` constantly, and is optimized
away.
nobu (Nobuyoshi Nakada)
02:39 AM Revision 4e7e9728 (git): Remove uneeded int2big property for Universal Parser
S_H_ (Shun Hiraoka)
01:32 AM Revision f07ef1d5 (git): Lrama v0.5.3
yui-knk (Kaneko Yuichiro)

08/04/2023

10:39 PM Revision e80752f9 (git): Skip calling jit_exec on Wasm
We often break Wasm build when we modify how jit_exec works. I'm
planning to modify it again soon.
We actually don't support running Ruby JIT on Wasm, so it doesn't seem
worth the maintenance effort.
k0kubun (Takashi Kokubun)
06:57 PM Revision 8d7861e3 (git): YJIT: expand bitwise shift support in x86 assembler (#8174)
maximecb (Maxime Chevalier-Boisvert)
05:13 PM Revision c4066af3 (git): [ruby/irb] Store integration tests' envs in an ivar
(https://github.com/ruby/irb/pull/668)
https://github.com/ruby/irb/commit/bbd20445ea
st0012 (Stan Lo)
02:29 PM Feature #19830: Allow `Array#transpose` to take an optional size argument
It doesn't feel elegant or concise to feed the element size to me.
For what use cases do you want it actually?
nobu (Nobuyoshi Nakada)
07:42 AM Feature #19830: Allow `Array#transpose` to take an optional size argument
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Why not `ary.transpose[1]&.join`?
That avoids the exception but returns `nil` instead of taking advantage of `#join`’s knowledge of the “correct” result for an empty array, i.e. the empty s...
tomstuart (Tom Stuart)
01:14 AM Feature #19830: Allow `Array#transpose` to take an optional size argument
Why not `ary.transpose[1]&.join`? nobu (Nobuyoshi Nakada)
02:09 PM Revision fc0b2a8d (git): YJIT: guard for array_len >= num in expandarray (#8169)
Avoid generating long dispatch chains for all array lengths seen. maximecb (Maxime Chevalier-Boisvert)
01:13 PM Revision 61b76e74 (git): Revert "Tests to move between size pools are flaky on Windows too"
This reverts commit c5abe0d08f8f7686422e6eef374cf8c78aefacb6. peterzhu2118 (Peter Zhu)
01:13 PM Revision 4b45b276 (git): Don't check stack for moved after compaction
We don't need to check stack for moved objects after compaction because
the mutator cannot run between marking the stack and the end of
compaction. However, the stack may have moved objects leftover from
marking and sweeping phases. This...
peterzhu2118 (Peter Zhu)
12:12 PM Revision 6b570ff2 (git): Display call location with bundled gems warning
hsbt (Hiroshi SHIBATA)
12:12 PM Revision ae8fd392 (git): Fixed worng key of bundled_gems list
hsbt (Hiroshi SHIBATA)
12:12 PM Revision a0b695b4 (git): Also decorate warning message with future tense for bundler
hsbt (Hiroshi SHIBATA)
12:12 PM Revision ede3c5ee (git): Use future tense if current version is older than list version
hsbt (Hiroshi SHIBATA)
11:59 AM Revision 48f03522 (git): Fetch the last element only when not empty
Also `flag_keyword_hash` sets to 0 or a hash object. nobu (Nobuyoshi Nakada)
11:16 AM Revision 0dc0c24c (git): [ruby/irb] Fix IntegrationTestCase
(https://github.com/ruby/irb/pull/667)
https://github.com/ruby/irb/commit/79fc6dcf5f
st0012 (Stan Lo)
09:21 AM Bug #19831 (Open): warning message of linker with macOS Sonoma beta
Xcode 15 beta and macOS Sonoma beta show the following warnings with `make`
```
(snip)
linking miniruby
ld: warning: ignoring duplicate library '-lpthread'
miniruby: replacing existing signature
exe/ruby: replacing existing signa...
hsbt (Hiroshi SHIBATA)

08/03/2023

08:14 PM Revision 4f99240b (git): YJIT: add jb (unsigned less-than) instruction to backend (#8168)
maximecb (Maxime Chevalier-Boisvert)
08:09 PM Revision 98b4256a (git): YJIT: handle expandarray_rhs_too_small case (#8161)
* YJIT: handle expandarray_rhs_too_small case
YJIT: fix csel bug in x86 backend, add test
Remove commented out lines
Refactor expandarray to use chain guards
Propagate Type::Nil when known
Update yjit/src/codegen.rs
Co-authored-by:...
maximecb (Maxime Chevalier-Boisvert)
06:52 PM Revision 132f0971 (git): No computing embed_capa_max in str_subseq
Fix str_subseq so that it does not attempt to predict the size of the
object returned by str_alloc_heap.
wks (Kunshan Wang)
05:42 PM Feature #19830 (Open): Allow `Array#transpose` to take an optional size argument
One benefit of supplying an initial value to `Enumerable#inject` is that it avoids an annoying edge case when the collection is empty:
```
>> [1, 2, 3].inject(:+)
=> 6 # good
> ...
=> nil # bad
>> [].inject(0, :+)
=> 0 # good...
tomstuart (Tom Stuart)
04:55 PM Revision b35a2223 (git): gdb.py: Support dumping a dummy frame [ci skip]
k0kubun (Takashi Kokubun)
03:12 PM Revision c65856d4 (git): Remove unneeded function prototype
Function prototype for gc_mode_transition is not needed as it's not
used before the implementation.
peterzhu2118 (Peter Zhu)
02:27 PM Feature #19325: YJIT: Windows support lacking.
Hello @tamaron. There is no update as of yet. One of the challenges is that it's not easy for us to have access to windows machines, it would be kind of a pain for us to debug things in a VM. This would also add complexity to our CI test... maximecb (Maxime Chevalier-Boisvert)
10:27 AM Feature #19325: YJIT: Windows support lacking.
Hello, any progress here?
I am very new to the Ruby community but interested in working on this.
tamaron (Raiki Tamura)
12:34 PM Revision aeff3116 (git): No computing embed_capa_max in ary_make_partial
ary_make_partial now uses the actual embed_capa of an allocated heap
array to guide whether make an embedded copy or a slice view.
wks (Kunshan Wang)
10:45 AM Bug #19829 (Closed): Enumerator.product called with keyword arguments raises exception with not precise message
The `Enumerator.product` method, added in Ruby 3.2, when it's called with keyword arguments (but it expects only a list of enums) raises `unknown keyword: ... (ArgumentError)` exception:
```ruby
Enumerator.product([], a: 1)
# (irb):...
andrykonchin (Andrew Konchin)
08:14 AM Bug #19792: arm の alpine 上でネストしたハッシュに長い文字列を入れると segmentation fault が発生する
以下の環境でも再現しました
- Docker version 24.0.2, build cb74dfc
- M1 Max
- Ventura 13.5
willnet (Shinichi Maeshima)
04:43 AM Revision 5336b2f0 (git): Move a local variable declaration after the protected region
nobu (Nobuyoshi Nakada)
04:17 AM Revision 8f2bbbbc (git): Add assertion in `RHASH_AR_TABLE_BOUND`
nobu (Nobuyoshi Nakada)
12:51 AM Revision fe977314 (git): Check if reader members are set
nobu (Nobuyoshi Nakada)
12:11 AM Revision 4b6c5840 (git): Remove --disable-gems for assert_separately
assert_separately adds --disable=gems so we don't need to add
--disable-gems when calling assert_separately.
peterzhu2118 (Peter Zhu)
 

Also available in: Atom