Activity
From 02/22/2023 to 02/28/2023
02/28/2023
-
11:58 PM Misc #19431: DevMeeting at RubyKaigi 2023
- Will attend.
-
03:47 PM Misc #19431: DevMeeting at RubyKaigi 2023
- I'll attend (optimistically, travel not booked yet).
-
08:25 PM Bug #19378: Windows: Use less syscalls for faster require of big gems
- Code using `GetFinalPathNameByHandleW` already exists in win32/win32.c, see
https://github.com/ruby/ruby/blob/c43f... -
07:49 PM Bug #19469 (Closed): Crash when resizing generic iv list
- GitHub PR: https://github.com/ruby/ruby/pull/7407
The following script can sometimes trigger a crash:
```ruby
... - 06:05 PM Revision c43fbe4e (git): Fix spelling (#7405)
-
06:04 PM Revision 966adfb7 (git): YJIT: Compress BranchGenFn and BranchShape (#7401)
- * YJIT: Compress BranchGenFn and BranchShape
* YJIT: Derive Debug for Branch
* YJIT: Capitalize BranchGenFn names
... -
06:03 PM Revision 67ad831b (git): YJIT: Use a boxed slice for gc_obj_offsets (#7397)
- * YJIT: Use a boxed slice for gc_obj_offsets
* YJIT: Stop using Option
* YJIT: s/add_counter/incr_counter_by/
Co-a... -
05:09 PM Revision 3766cbce (git): Update Rust bindgen
-
05:09 PM Revision 5e4b8017 (git): Update the depend files
-
05:09 PM Revision 460f399c (git): Merge internal/rgengc.h and internal/gc.h
-
04:57 PM Revision de66b60f (git): YJIT: add defer_empty_count stat
- Count how often we defer from a block that is empty
-
04:04 PM Bug #19246: Rebuilding the loaded feature index much slower in Ruby 3.1
- This does seem like a considerable slowdown on Windows.
The above code uses absolute paths with `require`, and als... -
02:36 PM Revision 9ddd7306 (git): [ruby/irb] Display and prioritise instance methods in `ls
- <module/class>`
(https://github.com/ruby/irb/pull/496)
https://github.com/ruby/irb/commit/e3d21f9329 -
12:54 PM Revision 2d6097a0 (git): [rubygems/rubygems] Fix method redefinition warning in gem exec specs
- https://github.com/rubygems/rubygems/commit/f177990d4c
-
12:27 PM Bug #19468 (Closed): Ruby 3.2: net/http sets UTF-8 encoding for binary responses
- net/http on Ruby 3.2 has changed the encoding of binary responses from SSL connected hosts (non-SSL connections are n...
-
10:01 AM Misc #19276: It is not possible to reply to emails from redmine
- @graywolf We may fixed this issue.
-
09:56 AM Bug #18614: Error (busy loop) in TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home
- @duerst I closed this because this failure may cause environmental issue. If you still have this issue, please re-ope...
-
08:53 AM Bug #18614 (Closed): Error (busy loop) in TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home
-
09:40 AM Feature #19465: [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
- Copy Eric's message from [ruby-core:112626](https://ml.ruby-lang.org/mailman3/hyperkitty/list/[email protected]....
-
08:27 AM Revision cf18f0b8 (git): Implement Write Barrier for `autoload_data`
- It's not uncommon for libraries to add thing sinto
autoload that won't necessarily be loaded.
This can cause hundred... - 07:01 AM Revision cd199128 (git): Update bundled gems list at 2023-02-28
-
05:29 AM Revision 9cc0ac22 (git): Update lib/net/http/status.rb
-
03:44 AM Revision 66b89b06 (git): Also ignore dismissed CodeQL alerts at tests and URI library
- 03:35 AM Revision c3e57d68 (git): Bump ruby/setup-ruby from 1.138.0 to 1.139.0
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.138.0 to 1.139.0.
- [Release notes](https://github... -
03:07 AM Revision 71dae78b (git): [ruby/stringio] Implement write barrier on StringIO
- It only has a single reference set in 3 places which
makes it fairly easy to implement.
https://github.com/ruby/stri... -
03:05 AM Revision ad679ec9 (git): Ignore rb/overly-large-range on URI
-
03:05 AM Revision c21260e3 (git): Enable only master branch for CodeQL push trigger
-
03:05 AM Revision 9ff09d69 (git): Run CodeQL each PRs again
-
02:48 AM Revision 7a9fb326 (git): Do not upload sarif file as artifact
-
02:48 AM Revision fbbe2850 (git): Do not OSS scorecards check each push
-
02:04 AM Revision d2c38aa8 (git): A file was missing in test/excludes for TestArraySubclass
- 01:27 AM Revision 97b53d1a (git): Remove "unused parameter" warnings on include of ruby.h
- These warnings are displayed when compiling with flag "-Wunused-parameter" (or
with "-Wall -Wextra").
02/27/2023
-
11:25 PM Bug #19313: Leaked file descriptors while running test-all
- This does not happen on Ubuntu 22.04 for me.
`$ ldd --version`
`ldd (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35` -
11:17 PM Bug #17998: ractor: process hanging (with ractors initialized, but not being used)
- Is this still an issue with current ruby @xtkoba? I checkout out your branch and with a few modifications for Ractor:...
-
10:36 PM Misc #19431: DevMeeting at RubyKaigi 2023
- I'll attend.
-
09:36 PM Bug #18572: Performance regression when invoking refined methods
- Yes, the perf regression is unfortunate.
The current per-call-site cache (`CC`) in the interpreter is keyed on
`[rec... -
03:51 PM Bug #18572: Performance regression when invoking refined methods
- Potential fix: https://github.com/ruby/ruby/pull/4323
-
09:34 PM Revision ba55706f (git): fix test/rubygems/test_gem_package_task.rb when in -j mode
- This test skipped sometimes due to failure to load 'rake/packagetask'.
This is due to manipulation of $LOAD_PATH by o... -
08:53 PM Revision 283c71ee (git): Skip a spec failing on master
- https://github.com/ruby/ruby/actions/runs/4286361460/jobs/7466545010
http://ci.rvm.jp/results/trunk_gcc9@ruby-sp2-doc... -
08:02 PM Revision 18b4def4 (git): Update to ruby/spec@e7dc804
-
08:02 PM Revision de601390 (git): Update to ruby/mspec@dc2eb26
-
06:34 PM Bug #18731: Parallel test-all sometimes does not run at all some tests
- I've been working a bit on the parallel runner and I've noticed this problem too.
```
Raise if the check Test::Unit:... -
06:11 PM Revision f38c6552 (git): Remove intern/gc.h from Make deps
-
06:11 PM Revision 98e4bdf3 (git): Update YJIT-bindgen
-
06:11 PM Revision ae5e62ee (git): Merge internal/intern/gc.h into internal/gc.h
- 05:56 PM Revision 2f7270c6 (git): Fix spelling (#7389)
-
05:29 PM Feature #19465 (Assigned): [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
- Since there has been no action since @hsbt reported it, I temporarily reverted the commit at commit:526111290b2e01e79...
-
03:23 PM Feature #19465 (Closed): [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
-
05:24 PM Revision 52611129 (git): Revert "reuse open(2) from rb_file_load_ok on POSIX-like system"
- This reverts commit 35136e1e9c232ad7a03407b992b2e86b6df43f63.
test-spec has been failing since this revision.
.gith... -
04:45 PM Bug #18119: Ractor crashes when instantiating classes
- I can't reproduce this on 3.2.0 or 3.3.0-dev (Ubuntu 22.04 x86-64), even with GC.stress = true
-
04:12 PM Bug #19464 (Closed): YJIT miscompiles `BasicObject#__send__` to alias methods of `send`
- Applied in changeset commit:git|0eb634ae73cb327ede833b72492f912792a4a9d5.
----------
YJIT: Detect and reject `send(:... -
04:12 PM Revision 0eb634ae (git): YJIT: Detect and reject `send(:alias_for_send, :foo)`
- Previously, YJIT failed to put the stack into the correct shape when
`BasicObject#send` calls an alias method for the... -
04:12 PM Revision 55a24f9b (git): YJIT: Reject __send__ with splat to cfunc for now
- `make test-spec` revealed this issue after applying an unrelated bug
fix. A crashing case is included, though I suspe... -
03:30 PM Feature #19377: Rename Fiber#storage to Fiber.storage
- zverok (Victor Shepelev) wrote in #note-5:
> Does `Fiber[foo]` not feel weird? (For me it actually does, seems like ... -
03:23 PM Revision ea830ab2 (git): [ruby/irb] Add a comment about Rails' patch on
- Workspace#filter_backtrace
(https://github.com/ruby/irb/pull/526)
* Add a comment about Rails' patch on Workspace#fi... -
12:33 PM Feature #19458: Expose HEREDOC identifier
- I have no particularly strong opinion either way.
But I wanted to comment on zverok's statement:
> [...] use the po... -
11:07 AM Revision 0aa50a03 (git): [ruby/irb] Provide more useful message when
- `IRB::Inspector#inspect_value` errors
(https://github.com/ruby/irb/pull/511)
**Before**
```
irb(main):001:0> c = Ca... -
10:21 AM Revision 4f611df3 (git): [ruby/reline] Fix wrong indent number in prompt. whole_lines has
- duplicated line.
(https://github.com/ruby/reline/pull/460)
* whole_lines should consider prev_line_index, and must n... - 10:09 AM Revision 2cbe1f3e (git): [StepSecurity] ci: Harden GitHub Actions
- Signed-off-by: StepSecurity Bot <[email protected]>
-
09:49 AM Revision 10a80d9d (git): Ignore test case for Kernel and IO methods
-
09:49 AM Revision db0a4c89 (git): Prefer to use File.foreach instead of IO.foreach
-
09:49 AM Revision d063ed12 (git): Prefer to use File.binwrite instead of IO.binwrite
-
09:49 AM Revision 6dfdc7b2 (git): Prefer to use File.binread instead of IO.binread
-
09:49 AM Revision d3d8cd30 (git): Prefer to use File.readlines instead of IO.readlines
-
08:57 AM Revision ae4d8e99 (git): Rename job and workflow names
-
08:57 AM Revision f21f5191 (git): Use matrix strategies each language
-
08:57 AM Revision b5a1c57c (git): Merge codeql-config into codeql-analysis
-
08:44 AM Revision 92ed8e6f (git): [ruby/reline] Fix the cause of test_yamatanooroti randomly failing
- (https://github.com/ruby/reline/pull/474)
* Add repeated input-delete test that fails on HEAD
* Use raw mode while ... - 07:01 AM Revision 494c274b (git): Update bundled gems list at 2023-02-27
- 03:52 AM Revision d686a45c (git): Bump github/codeql-action from 2.2.4 to 2.2.5
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.4 to 2.2.5.
- [Release notes](https://... - 02:29 AM Revision cc8329e8 (git): [ruby/tempfile] Fix inconsistency in doc of Tempfile.create
- https://github.com/ruby/tempfile/commit/3f96b2ed29
-
02:20 AM Revision b6704201 (git): Add all-ruby-quine as a sample code
- This sample code works on all release versions of Ruby, from Ruby 0.49.
-
12:26 AM Revision 2535b181 (git): Symbol#end_with? accepts Strings only
- Regular expressions are not supported (same as String#end_with?).
02/26/2023
-
10:05 PM Feature #19458: Expose HEREDOC identifier
- My thinking (the proposal I considered submitting but didn't fully form yet) was rather that HEREdocs might create so...
-
05:10 PM Feature #19458: Expose HEREDOC identifier
- Exposing the identifier for only heredocs seems inconsistent. However, for consistency, we could expose the identifi...
-
01:36 PM Feature #19458: Expose HEREDOC identifier
- > So what are you supposed to do if you wanted to include ERB in the string when you have to use ERB as the identifie...
-
02:00 AM Feature #19458: Expose HEREDOC identifier
- @zverok So what are you supposed to do if you wanted to include `ERB` in the string when you have to use `ERB` as th...
-
09:03 PM Feature #19465: [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
- "nobu (Nobuyoshi Nakada) via ruby-core" <[email protected]> wrote:
> Issue #19465 has been updated by nobu... - 08:39 PM Revision 35136e1e (git): reuse open(2) from rb_file_load_ok on POSIX-like system
- When loading Ruby source files, we can save the result of
successful opens as open(2)/openat(2) are a fairly expensiv... -
01:37 PM Revision 6e6992e5 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
- (https://github.com/ruby/net-http/pull/127)
https://github.com/ruby/net-http/commit/07b2b88ef5 -
01:17 PM Revision c8bafc3b (git): Fix autoconf RUBY_STACK_GROW_DIRECTION on ARM devices
-
11:17 AM Bug #19230: The openssl backend of securerandom is no longer needed
- Here's actually an user running into the above bug: https://github.com/stefansundin/rssbox/issues/67, https://github....
-
04:20 AM Revision ef00c6da (git): Adjust `else` style to be consistent in each files [ci skip]
02/25/2023
-
05:54 PM Feature #19377: Rename Fiber#storage to Fiber.storage
- @Eregon My argument was not about `#storage` taken alone, but about `#storage` vs `::[]` inconsistency. The inconsist...
-
05:50 PM Feature #19458: Expose HEREDOC identifier
- I came to the same idea as this ticket independently in a [half-joke discussion](https://bugs.ruby-lang.org/issues/19...
-
04:50 PM Revision 672b81b0 (git): [ruby/irb] Remove unused Struct
- (https://github.com/ruby/irb/pull/522)
https://github.com/ruby/irb/commit/97dae166ae -
12:53 PM Bug #18572: Performance regression when invoking refined methods
- palkan (Vladimir Dementyev) wrote in #note-4:
> As far as I understand, this line is responsible for "the 13 seconds... -
12:41 PM Feature #19450: Is there an official way to set a class name without setting a constant?
- ioquatix (Samuel Williams) wrote in #note-18:
> > One requirement for that is the given name should not be a valid c... -
12:07 PM Feature #19450: Is there an official way to set a class name without setting a constant?
- I wondered about whether your point of class name consistent was valid, but I found cases like this:
```
irb(main... -
12:02 PM Feature #19450: Is there an official way to set a class name without setting a constant?
- Here are some of the places in my own code I'd like to use such a feature:
- https://github.com/ioquatix/bake/blob/a... -
11:50 AM Feature #19450: Is there an official way to set a class name without setting a constant?
- ioquatix (Samuel Williams) wrote in #note-16:
> It's already the case that `Module#name` can return a string which i... -
11:34 AM Feature #19450: Is there an official way to set a class name without setting a constant?
- > The fundamental thing here is Module#name must return a String which is how to access that module, unless some part...
-
11:28 AM Feature #19450: Is there an official way to set a class name without setting a constant?
- > I'm also pretty sure assigning to a constant is incompatible with Ractor in some cases..
No, modules and classes... -
11:22 AM Feature #19450: Is there an official way to set a class name without setting a constant?
- ioquatix (Samuel Williams) wrote in #note-13:
> An example of this is web frameworks which load files into anonymous... -
11:12 AM Feature #19450: Is there an official way to set a class name without setting a constant?
- The use case is explained in https://bugs.ruby-lang.org/issues/19450#note-6 - to make it more descriptive when class ...
-
11:09 AM Feature #19450: Is there an official way to set a class name without setting a constant?
- What is the use-case here?
To name otherwise-anonymous test classes/modules?
Why not simply assigning them to a rea... - 10:04 AM Revision d0031db9 (git): Prefer RB_NUM2LONG for string length. (#7379)
-
09:34 AM Bug #19467 (Assigned): Some linear_time regexp does not match in linear time
-
05:24 AM Bug #19467 (Closed): Some linear_time regexp does not match in linear time
- `Regexp.linear_time?(/\A.*a.*x\z/) #=> true` but it does not match in linear time
~~~ruby
Regexp.linear_time? /\A... -
09:04 AM Feature #19465: [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
- Seems fine.👍
-
01:48 AM Feature #19465 (Assigned): [PATCH] reuse open(2) from rb_file_load_ok on POSIX-like system
- ```
When loading Ruby source files, we can save the result of
successful opens as open(2)/openat(2) are a fairly ex... -
08:38 AM Revision d3ee9e59 (git): [ruby/stringio] Remove (newly unneeded) remarks about aliases
- https://github.com/ruby/stringio/commit/60bb320477
- 06:27 AM Revision f94e83fa (git): Assigning `nil` to fiber storage deletes the association. (#7378)
- Also avoid allocations when looking up `Fiber#storage` if not needed.
- 05:40 AM Revision 57bc3f2f (git): Add `IO::Buffer.string` for efficient string creation. (#7364)
-
04:25 AM Bug #19461 (Closed): Time.local performance tanks in forked process (on macOS only?)
- I don't think we can do anything about this, so closing.
-
04:16 AM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
- I've submitted a bug report to Apple:

-
03:14 AM Feature #19466 (Closed): Class.new takes a block, why doesn't Module.new take a block?
- Okay, I confirmed it's working by my own hand, haha. I must work too hard this week, my brain is not functioning corr...
-
03:08 AM Feature #19466: Class.new takes a block, why doesn't Module.new take a block?
- Ahh, I tried this but I must have made a mistake. So why does `EnvUtil` not use this? Maybe it's legacy?
-
02:58 AM Feature #19466: Class.new takes a block, why doesn't Module.new take a block?
- It does.
```ruby
A = Module.new do
def foo; "foo" end
end
class B; include A end
B.new.foo # => "foo"
```
Cf. htt... -
02:37 AM Feature #19466 (Closed): Class.new takes a block, why doesn't Module.new take a block?
- ```ruby
Class.new do
#... equivalent to class_eval
end
```
So, why don't we introduce:
```ruby
Module.ne... -
03:02 AM Misc #19429: DevMeeting-2023-03-09
- - [Feature #19450] Is there an official way to set a class name without setting a constant?
- Do we accept `Class.n... -
02:55 AM Feature #19440: Deprecate ThreadGroup
- I don't think I have ever seen `ThreadGroup` used in practice, nor do I personally know why I'd want to use it. There...
02/24/2023
-
11:59 PM Bug #19464 (Closed): YJIT miscompiles `BasicObject#__send__` to alias methods of `send`
- Symptoms first experienced and [reported] by users of the `kt-paperclip` gem.
Reproducer:
```ruby
klass = Class.... -
10:52 PM Feature #19450: Is there an official way to set a class name without setting a constant?
- What do you all think of https://github.com/ruby/ruby/pull/7376 ??
-
05:32 PM Feature #19450: Is there an official way to set a class name without setting a constant?
- matheusrich (Matheus Richard) wrote in #note-9:
> Semi-related (maybe it should be a separate issue?) but assigning ... -
05:14 PM Feature #19450: Is there an official way to set a class name without setting a constant?
- Semi-related (maybe it should be a separate issue?) but assigning a class to a constant via rightward assignment resu...
-
10:23 PM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
- Wow, it's like 300x slower.
According to the stack overflow discussion, some how this does not affect Python, so may... -
02:52 PM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
- Rewritten.
```
$ clang localtime_test.c && ./a.out
Measuring in parent
localtime_r = 0.002384000
localtime... -
02:34 PM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
- Seems unrelated to Ruby.
```
$ sw_vers
ProductName: macOS
ProductVersion: 13.2.1
BuildVersion: 22D68
$ ... -
04:04 AM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
- Thanks, that's quite an epic Q/A.
-
03:42 AM Bug #19461: Time.local performance tanks in forked process (on macOS only?)
- In Dec 2016, someone investigated a related question and posted here:
https://stackoverflow.com/questions/41353532... -
09:25 PM Feature #19453 (Closed): Move `Fiber.current` into core.
- Awesome, thanks for the details!
-
05:38 PM Feature #19453: Move `Fiber.current` into core.
- This seems already the case for 3.1 and 3.2:
```
$ ruby -v --disable-gems -e 'puts $"; p Fiber.current'
ruby 3.1.3... -
09:19 PM Bug #19463 (Closed): YJIT `[BUG] Stack consistency error` under certain invalidation scenarios
- Applied in changeset commit:git|132934b82baad97107fe754d60f9a68a1db7ecda.
----------
YJIT: Generate Block::entry_exi... -
08:10 PM Bug #19463 (Closed): YJIT `[BUG] Stack consistency error` under certain invalidation scenarios
- > test.rb:19: [BUG] Stack consistency error (sp: 15, bp: 16)
With the following:
```ruby
klass = Class.new do
... -
09:18 PM Revision 132934b8 (git): YJIT: Generate Block::entry_exit with block entry PC
- Previously, when Block::entry_exit is requested from any instruction
that is not the first one in the block, we gener... -
09:15 PM Bug #18572: Performance regression when invoking refined methods
- Eregon (Benoit Daloze) wrote in #note-3:
> Interesting, maybe this is partly the cause for the `13 seconds` mentione... -
07:30 PM Bug #18572: Performance regression when invoking refined methods
- Interesting, maybe this is partly the cause for the `13 seconds` mentioned in https://shopify.engineering/the-case-ag...
-
05:31 PM Bug #18572: Performance regression when invoking refined methods
- Checked Ruby 3.2—better than Ruby 3.1 but still noticeable:
```sh
Comparison:
#symbolize_keys original: 43... -
09:11 PM Bug #19456 (Closed): Incorrect line numbers in GC hook
- Applied in changeset commit:git|3e098224077e8c43a1d8c2070b26ffdfda422780.
----------
Fix incorrect line numbers in G... -
09:10 PM Revision fa1eb31f (git): [ci skip] Add note in gc.c about ambiguous case
-
07:10 PM Revision 3e098224 (git): Fix incorrect line numbers in GC hook
- If the previous instruction is not a leaf instruction, then the PC was
incremented before the instruction was ran (me... -
07:10 PM Revision d2631c42 (git): Fix RubyVM::CExpr#inspect
- @__LINE__ can be nil which causes the inspect method to fail.
-
07:09 PM Revision 05f016cd (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
- (https://github.com/ruby/net-http/pull/126)
https://github.com/ruby/net-http/commit/4700d0660b -
05:25 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
- I also reproduced the `SIGSEGV` from the original bug using a build with debug symbols:
```
* thread #1, queue = ... -
02:03 PM Revision f471f461 (git): YJIT: Use enum for expressing type diff (#7370)
-
02:01 PM Revision d8d152e6 (git): YJIT: Compress TempMapping (#7368)
-
01:34 PM Revision 07403de5 (git): [ruby/irb] Cleanup completion tests
- (https://github.com/ruby/irb/pull/520)
* Remove redundant completion test
The test case was introduced to guard an ... - 11:48 AM Revision 5d5ff6e5 (git): [ruby/set] Set#merge does not take keyword arguments as a Hash
- https://github.com/ruby/set/commit/ca1c9532a9
- 11:48 AM Revision 454ac4cb (git): [ruby/set] Set#merge takes many enumerable objects like Hash#merge! does
- https://github.com/ruby/set/commit/becaca994d
-
10:44 AM Revision aff41a36 (git): Add information about runirb in make help
-
02:22 AM Bug #19378: Windows: Use less syscalls for faster require of big gems
- joshc (Josh C) wrote in #note-3:
> I've attached a revert patch.
I think the only way we would revert commit:79a... -
01:43 AM Bug #19378: Windows: Use less syscalls for faster require of big gems
- I've also noticed a significant increase in file IO events (as reported by procmon) due to https://github.com/ruby/ru...
-
01:22 AM Feature #19443: Cache `Process.pid`
- "ko1 (Koichi Sasada) via ruby-core" <[email protected]> wrote:
> As I understand `getpid()` system call is... -
12:14 AM Bug #19462 (Assigned): MJIT not enabled with universal macOS x86_64 + arm64 build
02/23/2023
-
10:13 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
- Sent PR https://github.com/ruby/ruby/pull/7367 with a fix.
-
09:13 PM Bug #18286: Universal arm64/x86_84 binary built on an x86_64 machine segfaults/is killed on arm64
- I think I know what the problem is.
During the build, Ruby has special logic to serialize its own `builtin` module t... -
09:31 PM Bug #13831: error when try to install
- We've been carrying a patch for this issue for many years now and I submitted a PR: https://github.com/ruby/ruby/pull...
-
09:05 PM Bug #19462 (Closed): MJIT not enabled with universal macOS x86_64 + arm64 build
- I'm trying to build a universal macOS x86_64 + arm64 ruby from upstream @ ae9e1aee59b0db1e61aa0473556165f9fd719cde on...
-
08:11 PM Bug #19460: Class not able to be garbage collected
- Wow, interesting! Thanks for looking into it, I hadn't heard of harb before, pretty neat.
-
04:10 PM Bug #19460 (Closed): Class not able to be garbage collected
- Closing as I don't think it's a bug per say, but happy to re-open if anyone thinks otherwise.
-
03:50 PM Bug #19460: Class not able to be garbage collected
- I just had a look at this.
Modifying your script a bit to dump the heap:
```ruby
require 'objspace'
class A... -
04:27 AM Bug #19460: Class not able to be garbage collected
- I should also note I don't know if this is a bug or if this is simply not possible to do in Ruby. I know using `load`...
-
03:55 AM Bug #19460 (Closed): Class not able to be garbage collected
- I'm working on something where I need to remove a class and release all memory related to that class.
I've stumbled ... -
08:05 PM Feature #18070: `attr` should be removed
- There may be backwards compatibility considerations. Personally I never
use attr. I use the longer variants (attr_acc... -
08:02 PM Feature #18136: take_while_after
- I think one big problem with the proposed name such as the three word one is that they
are somewhat rare and difficu... -
07:53 PM Feature #17859: Start IRB when running just `ruby`
- I don't have a strong opinion on the topic. I am fine either way.
Both seem to have a valid point of view, e. g. the... -
06:13 PM Revision 1fdaa066 (git): Fix a warning on typedef
- ../gc.c:13317:1: warning: ‘typedef’ is not at beginning of declaration [-Wold-style-declaration]
13317 | } typedef we... -
06:08 PM Revision b9f9440e (git): YJIT: Trivial fixes in codegen.rs
-
06:03 PM Revision 5444dde7 (git): YJIT: Skip type checks on splat args and expandarray if possible (#7363)
- YJIT: Skip type checks on splat args and expandarray
if possible -
05:12 PM Revision c3cd1910 (git): YJIT: Add `make yjit-smoke-test` [ci skip]
- I have this as a shell command and Maxime told me that she finds it
useful, too. I tested this on a release build and... -
04:51 PM Revision 7c47c261 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
- (https://github.com/ruby/net-http/pull/125)
https://github.com/ruby/net-http/commit/2ea20380fc -
03:02 PM Feature #18498 (Closed): Introduce a public WeakKeysMap that compares by equality
- Applied in changeset commit:git|2a5354e59324cb296a423c73ec15ff9191086964.
----------
Implement ObjectSpace::WeakKeyM... -
03:01 PM Revision 2a5354e5 (git): Implement ObjectSpace::WeakKeyMap basic allocator
- [Feature #18498]
-
12:24 PM Bug #19455: Ruby 3.2: wrong Regexp encoding with non-ASCII comments
- i don't have a problem with this myself and the matching behavior is not affected as far as i can tell.
notable be... -
04:18 AM Bug #19455: Ruby 3.2: wrong Regexp encoding with non-ASCII comments
- @janosch-x Do you have any specific problem with this change? For example, a string that used to match no longer matc...
-
11:23 AM Bug #19461 (Closed): Time.local performance tanks in forked process (on macOS only?)
- The following program demonstrates a performance regression in forked child processes when invoking `Time.local`:
... - 08:50 AM Revision 9406245d (git): [rubygems/rubygems] lint fix again
- https://github.com/rubygems/rubygems/commit/118d28ad27
- 08:50 AM Revision 3d766122 (git): [rubygems/rubygems] lint fix
- https://github.com/rubygems/rubygems/commit/de3b69f1a7
- 08:50 AM Revision 10a393c2 (git): [rubygems/rubygems] add safe_load_marshal for gem::version and gem::spec
- https://github.com/rubygems/rubygems/commit/2ea2ead1b3
- 08:50 AM Revision e965133f (git): [rubygems/rubygems] test Bundler::Fetcher that error raised when attempting load unexpected class
- https://github.com/rubygems/rubygems/commit/795e796a9e
- 08:50 AM Revision 68995c21 (git): [rubygems/rubygems] test rubygems_integration that error raised when attempting load unexpected class
- https://github.com/rubygems/rubygems/commit/9798718b3b
- 08:50 AM Revision ffc20273 (git): [rubygems/rubygems] add test for private load_marshal method
- https://github.com/rubygems/rubygems/commit/3a772125b8
- 08:50 AM Revision 583137fe (git): [rubygems/rubygems] make Bundler.load_marshal private
- https://github.com/rubygems/rubygems/commit/4909d071d2
- 08:50 AM Revision d5994eb4 (git): [rubygems/rubygems] safe marshal gem specs when inflating
- https://github.com/rubygems/rubygems/commit/5c5d0c5350
- 08:50 AM Revision 3d5ec840 (git): [rubygems/rubygems] safe marshal gem versions when fetching Marshal.specs.4.8.gz
- https://github.com/rubygems/rubygems/commit/23880353c1
-
06:39 AM Bug #19189: Ruby 3.1.3/3.2.x can no longer find pkg-config if not present at buildtime
- ruby_3_1 0602df301cd76a3f1b444c4742b288bc6aed80ac merged revision(s) 613fca01486e47dee9364a2fd86b5f5e77fe23c8.
-
06:14 AM Revision 0602df30 (git): merge revision(s) 613fca01486e47dee9364a2fd86b5f5e77fe23c8: [Backport #19189]
- [Bug #19189] Fallback to the default "pkg-config"
---
lib/mkmf.rb | 2 +-
1 file changed, 1... -
06:11 AM Bug #18629: block args array splatting assigns to higher scope _ var
- ruby_3_1 536f5ba0d48c033e63398d1751aebd0a11bcc6ff merged revision(s) 3ddf6ad4d2f6dae4caa00b8c407768c7062099a0.
-
06:11 AM Bug #18765: Wrong description introduced by https://github.com/ruby/ruby/pull/4938/files
- ruby_3_1 9f072e9ae1bae2d76334c9e97a47280779768859 merged revision(s) 8038d5e40a079d60dfcf7cab1155528959760c28.
-
06:10 AM Revision 9f072e9a (git): merge revision(s) 8038d5e40a079d60dfcf7cab1155528959760c28: [Backport #18765]
- Revert flawed doc for slice_after, slice_when, and chunk_while
(#5952)
Restores doc for the methods... -
05:40 AM Bug #19459 (Closed): Is `length` of `IO::Buffer#read` required or optional?
- Applied in changeset commit:git|3b567eb491e460e00a66fdea8054eeb083b5dafd.
----------
[Bug #19459] Remove unnecessary... -
01:17 AM Bug #19459: Is `length` of `IO::Buffer#read` required or optional?
- https://github.com/nobu/ruby/tree/io_buffer-unnecessary-checks
https://github.com/ruby/ruby/pull/7362 -
01:12 AM Bug #19459 (Closed): Is `length` of `IO::Buffer#read` required or optional?
- io_buffer.c has warnings.
http://ci.rvm.jp/logfiles/brlog.trunk-asserts.20230222-105209#L956
```
/tmp/ruby/src... -
05:40 AM Revision 3b567eb4 (git): [Bug #19459] Remove unnecessary always-true checks (#7362)
- `length` is a required argument for `IO::Buffer#read` and
`IO::Buffer#write` methods, and `argc` is already checked w... -
05:36 AM Revision 536f5ba0 (git): merge revision(s) 3ddf6ad4d2f6dae4caa00b8c407768c7062099a0: [Backport #18629]
- Private local variables should shadow outer variables [Bug #18629]
---
parse.y | 3 ... -
03:48 AM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
- Merged the pull request for ruby_3_1 https://github.com/ruby/ruby/pull/7355.
-
03:46 AM Revision d485a5dc (git): bump patchlevel
-
03:45 AM Revision 76c61c99 (git): Backport https://github.com/ruby/ruby/pull/7321
-
03:43 AM Bug #19153: Since 2.7.7 CGI::Cookie raises ArgumentError when cookie domains is prefixed with a dot
- Updated the bundled cgi to 0.3.6 on ruby_3_1 branch.
-
03:42 AM Bug #19153: Since 2.7.7 CGI::Cookie raises ArgumentError when cookie domains is prefixed with a dot
- ruby_3_1 4141989b2aef2993bb19140a4be355d1c68b8be1 merged revision(s) 656f25987cf2885104d5b13c8d3f5b7d32f1b333,98074a5...
-
03:41 AM Revision 4141989b (git): merge revision(s) 656f25987cf2885104d5b13c8d3f5b7d32f1b333,98074a57ca9f3169fe9da9af6c49b636d37db16f,745dcf5326ea2c8e2047a3bddeb0fbb7e7d07649,b335d899fff3cc22b022c9ee2ceb636d714bf1a7: [Backport #19153]
- [ruby/cgi] Fix test_cgi_cookie_new_with_domain to pass on older
rubies
https://github.com/ruby/cgi/... -
02:25 AM Revision da0e6b99 (git): Move `dump_machine_register` definitions
-
01:01 AM Feature #19457: Some improvements to test-all suite
- Interesting, patches are welcome.
-
12:31 AM Feature #19458: Expose HEREDOC identifier
- To my understanding, the reason you can freely choose the heredoc identifier is not to label the language of the cont...
02/22/2023
-
09:22 PM Revision e9e4e1cb (git): YJIT: Introduce Opnd::Stack (#7352)
- 09:09 PM Revision 4f48debd (git): * remove trailing spaces. [ci skip]
-
09:09 PM Revision 29ec8e15 (git): Make GC faster when RGENGC_CHECK_MODE >= 2
- We shouldn't run gc_verify_internal_consistency after every GC step
when RGENGC_CHECK_MODE >= 2, only when GC has fin... -
09:07 PM Feature #19458 (Open): Expose HEREDOC identifier
- I’d like to have access to the HEREDOC identifier.
In the ViewComponent framework I help maintain, we added a meth... -
08:02 PM Misc #18761: provide an example wasm project
- > need more getting started instructions?
I think it may be helpful if there would be something like a "mini-tutoria... -
07:51 PM Feature #19457 (Closed): Some improvements to test-all suite
- Hi, I've been making some improvements to this suite in a branch of my own and came up with a list of changes I think...
-
07:26 PM Revision 220cdbee (git): [lldb] Add a print_flags command (#7358)
-
04:09 PM Bug #19455: Ruby 3.2: wrong Regexp encoding with non-ASCII comments
- I'm not sure that this a bug. If all non-comment characters considered in the regexp are in the US-ASCII range, it s...
-
10:18 AM Bug #19455 (Closed): Ruby 3.2: wrong Regexp encoding with non-ASCII comments
- comments and comment groups don't trigger the correct `Regexp#encoding` on Ruby 3.2 anymore:
```ruby
# ruby 3.1
... -
02:49 PM Bug #19456 (Closed): Incorrect line numbers in GC hook
- GitHub PR: https://github.com/ruby/ruby/pull/7357
If the previous instruction is not a leaf instruction, then the ... -
01:58 PM Revision 4edb2a29 (git): [ruby/net-http] [DOC] Enhanced RDoc for Net:HTTP
- (https://github.com/ruby/net-http/pull/124)
https://github.com/ruby/net-http/commit/aaf26b21d6 -
01:14 PM Revision b112ae99 (git): Skip failing test on MSWin
-
10:00 AM Revision 65ab2c1e (git): Backport [Bug #19158] for Ruby 3.2 (#7356)
- Backport https://github.com/ruby/ruby/pull/7321
-
09:02 AM Bug #19454: Instruction `send` has nil blockiseq and ARGS_SIMPLE flag
- > It seems test-unit turns off specialized_instruction in RubyVM::InstructionSequence.compile_option.
Indeed, thank ... -
08:42 AM Revision 6232e1b9 (git): [rubygems/rubygems] Skip extension test on jruby
- https://github.com/rubygems/rubygems/commit/38ee82c297
-
08:42 AM Revision 151ae979 (git): [rubygems/rubygems] Better teardown
- https://github.com/rubygems/rubygems/commit/5fa0ebf09b
-
08:42 AM Revision a17b1b19 (git): [rubygems/rubygems] Always join with a string
- Gem.path_separator can also be a regexp...
https://github.com/rubygems/rubygems/commit/7e6e56a5f3 -
08:42 AM Revision 0ca3a095 (git): [rubygems/rubygems] Only update env if var exists
- Will save on an error if it would be nil from an exception happening during that line
https://github.com/rubygems/ru... -
08:42 AM Revision 616a7e1f (git): [rubygems/rubygems] Nil out Gem.configuration after tests
- https://github.com/rubygems/rubygems/commit/3135ad91d4
-
08:42 AM Revision ae5deb1e (git): [rubygems/rubygems] Use assert_raise instead of assert_raises
- For ruby-core compat
https://github.com/rubygems/rubygems/commit/c8f85c91a8 -
08:42 AM Revision 931db212 (git): [rubygems/rubygems] Add tests covering pre-releases for gem exec
- https://github.com/rubygems/rubygems/commit/f6877c29b9
-
08:42 AM Revision 80bfa1b3 (git): [rubygems/rubygems] Fix resetting env in gem exec, and make sure it is set for gem exec gem
- https://github.com/rubygems/rubygems/commit/13a6dd4992
-
08:42 AM Revision 2dd96983 (git): [rubygems/rubygems] Allow gem exec gem
- https://github.com/rubygems/rubygems/commit/a767f7b9be
-
08:42 AM Revision 47d4f73e (git): [rubygems/rubygems] Remove platform option for gem exec
- Also fix native extensions that load dependencies
https://github.com/rubygems/rubygems/commit/a06f9870c7 -
08:42 AM Revision 612ebd10 (git): [rubygems/rubygems] Ensure dependencies are updated by default when running gem exec
- https://github.com/rubygems/rubygems/commit/664f3e1e5f
-
08:42 AM Revision 3f0f9a79 (git): [rubygems/rubygems] Add gem exec description
- https://github.com/rubygems/rubygems/commit/dac1609fd5
-
08:42 AM Revision d81be060 (git): [rubygems/rubygems] Add specs for gem exec
- https://github.com/rubygems/rubygems/commit/3078e5834e
-
08:42 AM Revision cbe14cc8 (git): [rubygems/rubygems] Add gem exec command
- https://github.com/rubygems/rubygems/commit/ca69a317f3
-
08:03 AM Feature #19443: Cache `Process.pid`
- > How to read comment #7 results?
It's a flat reduction on our latency (server response time) metrics.
On avera... -
02:44 AM Feature #19443: Cache `Process.pid`
- Thank you.
How to read comment [#7](https://bugs.ruby-lang.org/issues/19443#note-7) results?
-
07:22 AM Bug #19158 (Closed): Ruby 3.1.3 installs wrong gemspec for debug gem
-
07:11 AM Bug #19158: Ruby 3.1.3 installs wrong gemspec for debug gem
- I submitted pull-requests for Ruby 3.1 and 3.2.
* [for Ruby 3.1](https://github.com/ruby/ruby/pull/7355)
* [for R... -
05:40 AM Revision 693e4dec (git): Prohibit GIT after setting readonly
- 04:11 AM Revision 65ef20d2 (git): Add support for LoongArch (#7343)
- * vm_dump.c: Dump machine registers on loongarch64 Linux.
* coroutines: Support for native loongarch64 coroutines.
... - 02:56 AM Revision 2798b13e (git): Bump actions/cache from 3.2.5 to 3.2.6
- Bumps [actions/cache](https://github.com/actions/cache) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/act... -
01:23 AM Revision d025ff29 (git): Clone bundled gem sources only if GIT is available
-
01:23 AM Revision ac5a949c (git): Refine exception messages when git failed
-
01:20 AM Revision 015bf5c4 (git): Removed accidentally commits with ruby/readline-ext
- Partly reverted 1ddda4c0d7d2b83658ab149e36e088961ca0b2dc
-
01:18 AM Revision fc59b587 (git): [ruby/readline-ext] test_readline.rb only needs EnvUtil
- https://github.com/ruby/readline-ext/commit/9245965ecd
-
01:18 AM Revision 08891906 (git): [ruby/readline-ext] Omit some tests with macOS platform
- https://github.com/ruby/readline-ext/commit/efe2be6e4c
-
01:18 AM Revision 1ddda4c0 (git): [ruby/readline-ext] Import EnvUtils and related test libraries
- https://github.com/ruby/readline-ext/commit/f034697a48
Also available in: Atom