Activity
From 07/25/2024 to 07/31/2024
07/31/2024
-
11:23 PM Revision bbeebc92 (git): Only set shape id for CCs on attr_set + ivar
- Only ivar reader and writer methods should need the shape ID set on the
inline cache. We shouldn't accidentally over... -
08:50 PM Revision 16b02428 (git): [ruby/rdoc] Add new ruby parser that uses Prism
- (https://github.com/ruby/rdoc/pull/1144)
* Add a new ruby parser RDoc::Parser::PrismRuby
* Add a new ruby parser te... -
08:37 PM Revision e68e9582 (git): [PRISM] Increase test-bundler-parallel to 40 minutes
- It's timing out frequently recently, so increasing the timeout should
fix it. -
08:09 PM Revision f5d193d5 (git): [DOC] Adds "Further Considerations" to documentation_guide.md (#11281)
-
08:04 PM Revision cc814372 (git): Rewrite Array.new documentation
- Use plain paragraphs instead of a nested unordered list.
Remove some examples, including examples that produce warni... -
08:03 PM Revision 290089c1 (git): [rubygems/rubygems] Remove some `file_uri_for` calls
- https://github.com/rubygems/rubygems/commit/3570ba20ed
-
06:47 PM Revision 63583974 (git): Fix leak of AST when Ripper#compile_error jumps
- For example, the following script leaks:
class MyRipper < Ripper
def initialize(src, &blk)
super(s... -
02:51 PM Revision 70b4f45d (git): YJIT: Decouple Context from encoding details (#11283)
-
02:36 PM Revision 27c22f82 (git): [ruby/rdoc] Drop unnecessary `file_name` parameter from `Parser.for`
- method.
(https://github.com/ruby/rdoc/pull/1135)
* Unify top_level creation in tests
* Remove unnecessary file_name... -
01:20 PM Revision 12a5400a (git): [ruby/io-console] Remove no longer used variable
- https://github.com/ruby/io-console/commit/651797ff8a
-
12:38 PM Bug #20659: Speed regression of `parse.y` parser after numeric nodes were introduced
- Some light profiling shows that this workload spends over half of its time in `Kernel#require`. I don't think it's co...
-
03:34 AM Bug #20659: Speed regression of `parse.y` parser after numeric nodes were introduced
- Just a simple curiosity, I am not sure how the change will affect the performance so much. Does mail gem use `eval` a...
-
02:37 AM Bug #20659 (Assigned): Speed regression of `parse.y` parser after numeric nodes were introduced
-
11:27 AM Misc #20658: Dropping the Arm Neoverse (Ubuntu) server on RubyCI
- > Remove the content about the "Ubuntu arm neoverse" on our Wiki page.
Updated [the wiki page](https://github.com/... - 07:00 AM Revision dedc4965 (git): Update bundled gems list as of 2024-07-30
-
05:14 AM Feature #20525: Percent string literal with indentation support or String#dedent
- Actually this looks decent:
```rb
Markdown ~{
# Hi!
This is markdown
}
``` -
02:32 AM Feature #20525: Percent string literal with indentation support or String#dedent
- Why not `<<~"}"` ?
-
02:52 AM Feature #20612: Introduce new Epsilon (no-op) GC
- eightbitraptor (Matthew Valentine-House) wrote in #note-2:
> 1. This will be used to write tests to help us improve ... -
02:19 AM Revision 92865d87 (git): Remove files to build libffi in mswin
- These files were to build libffi from the bundled source, but are no
longer used since we stopped bundling the libffi... -
02:00 AM Feature #20563 (Closed): Drop support for old Windows
- Applied in changeset commit:git|7ef8051cbbb7194a8899a3966130af2bc09fc896.
----------
[Feature #20563] Drop support f... -
01:48 AM Feature #20563: Drop support for old Windows
- Thanks @jeremyevans0 , we can drop Windows Server 2008 and 2012 at least.
FYI: There is no CI and development envi... -
12:57 AM Feature #20563 (Open): Drop support for old Windows
-
01:59 AM Revision 19ec8031 (git): Reset the counter for two consecutive runs
-
12:57 AM Revision 7aea269b (git): [Feature #20563] Drop support for Windows older than 8/Sever 2012
- Directly call APIs available on Windows 8/Server 2012 and later.
-
12:57 AM Revision 7ef8051c (git): [Feature #20563] Drop support for Windows older than Vista/2008
- Directly call APIs available on Windows Vista/Server 2008 and later.
-
12:23 AM Feature #20657 (Feedback): Allow Enumerable#map(&:method) and #each accept additional parameters for method
- ukolovda (Dmitry Ukolov) wrote in #note-3:
> Oo, the ampersand is not language syntax, as I think before, but simple...
07/30/2024
-
08:31 PM Revision d2b8fd0f (git): [DOC] Tweaks to Array.try_convert (#11260)
-
04:29 PM Bug #20659 (Closed): Speed regression of `parse.y` parser after numeric nodes were introduced
- The [`mail` benchmark from yjit-bench][1] is about 20% slower on `master` compared to commit:98eeadc9 ("Development o...
-
04:05 PM Revision f85c7dea (git): Update RubyGems 3.5.16 and Bundler 2.5.16 for Ruby 3.3 (#11252)
- * Merge RubyGems-3.5.12 and Bundler-2.5.12
* Merge RubyGems-3.5.13 and Bundler-2.5.13
* Merge RubyGems-3.5.14 and B... -
04:05 PM Revision 0922afa9 (git): [Bug #20654] Fix floor and ceil when ndigits is large (#11277)
- * Fix floor when ndigits is large
[Bug #20654]
This commit fixes Integer#floor and Float#floor when the number is
n... -
03:32 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- > I'd be surprised if it was accepted.
Same here. Although perhaps I should clarify that `$~` would be accessible ... -
03:21 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- Right, so it's not as simple as marking the ISeq as not needing the backref because it doesn't use `getspecial`.
I... -
11:37 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- @byroot It depends in which situation but generally yes it's able to avoid the allocation.
If there is no block arou... -
05:25 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- > is there something in the semantic that make it impossible to predict?
Answering to myself:
```ruby
def matc... -
05:18 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- ko1 (Koichi Sasada) wrote in #note-16:
> No. It is not user visible behavior so no incompatiblity.
Sorry my wrong... -
02:58 PM Feature #20563: Drop support for old Windows
- jeremyevans0 (Jeremy Evans) wrote in #note-3:
> Windows Server 2016 is not yet EOL, the EOL date is January 12, 2027... -
02:39 PM Feature #20563: Drop support for old Windows
- It seems that the import library in VisualStudio 2015 is missing the symbol that was introduced in Windows Server 201...
-
02:16 PM Feature #20563: Drop support for old Windows
- hsbt (Hiroshi SHIBATA) wrote in #note-2:
> @usa said "Windows Server 2016 is already EOL, we can drop them".
>
> ... -
06:38 AM Feature #20563 (Closed): Drop support for old Windows
- @usa said "Windows Server 2016 is already EOL, we can drop them".
I also agreed to drop Windows Server 2008, 2012 ... -
02:32 PM Misc #20658 (Closed): Dropping the Arm Neoverse (Ubuntu) server on RubyCI
- ## Context
On July 26 2024, 4 days ago, the person at Arm sponsoring a SSH-accessing Arm server via Works on Arm p... -
02:29 PM Bug #20571 (Closed): Compile error on for loop
-
12:49 AM Bug #20571: Compile error on for loop
- After some additional work, I think this is an optimizer issue. With `--dump=i,-opt`, both parse.y and prism generat...
-
02:28 PM Bug #20651 (Closed): `false && (1 in 1)` produces argument stack underflow (-1)
-
02:09 PM Revision 91bb6afa (git): [DOC] Tweaks for Array.new (#11259)
-
02:06 PM Revision b44a1549 (git): [DOC] Tweaks for Array#&
-
02:04 PM Feature #20657: Allow Enumerable#map(&:method) and #each accept additional parameters for method
- Oo, the ampersand is not language syntax, as I think before, but simple operator, converting Symbol to Proc. It is fi...
-
01:53 PM Feature #20657: Allow Enumerable#map(&:method) and #each accept additional parameters for method
- As @bkuhlmann mentioned, there's room for the language enhancement here to provide arguments to the method for a bloc...
-
01:04 PM Feature #20657: Allow Enumerable#map(&:method) and #each accept additional parameters for method
- [Method Parameters And Arguments](https://alchemists.io/articles/ruby_method_parameters_and_arguments) are already co...
-
12:30 PM Feature #20657 (Feedback): Allow Enumerable#map(&:method) and #each accept additional parameters for method
- I can use `#map` (or `#each`) with short method name, for example:
``` ruby
a = ["a1", "b1", "c1"]
b = a.map(&... -
02:02 PM Revision 0dda30d9 (git): [rubygems/rubygems] Print a better debug message when lockfile does not include the current platform
- https://github.com/rubygems/rubygems/commit/afb7a6d754
-
02:02 PM Revision 997642cf (git): [rubygems/rubygems] The `simulate_platform` helper can take a string
- https://github.com/rubygems/rubygems/commit/680bafac1a
-
02:02 PM Revision cf6efd1b (git): [rubygems/rubygems] Simplify logic to add current platform a bit
- https://github.com/rubygems/rubygems/commit/e102516e27
-
02:01 PM Revision 1164b6a7 (git): [rubygems/rubygems] Fix `gem list` regression when a regular gem shadows a default one
- Previously, if you have bundler installed both as a regular gem and a
default gem, the default gem would be displayed... -
02:01 PM Revision 3d248b2e (git): [rubygems/rubygems] Always leave default gem executables around
- https://github.com/rubygems/rubygems/commit/775c35e197
-
01:54 PM Revision ec13ccdf (git): [rubygems/rubygems] Allow smoother breaking changes in test env
- https://github.com/rubygems/rubygems/commit/0fc3feae19
-
01:17 PM Bug #20654: Floor and ceil have unexpected behaviour when ndigits is large
- I opened backport PRs.
3.3: https://github.com/ruby/ruby/pull/11277
3.2: https://github.com/ruby/ruby/pull/11278 -
12:49 PM Bug #20654 (Closed): Floor and ceil have unexpected behaviour when ndigits is large
- Applied in changeset commit:git|3af2a7fbe12e11bac7b26bd991d3d02349f47295.
----------
Fix floor when ndigits is large... -
01:02 PM Revision b37ffb93 (git): Move incorrectly placed tests
- The tests for Integer#ceil was accidentally placed in test_truncate.
-
12:56 PM Feature #20612: Introduce new Epsilon (no-op) GC
- "Epsilon" is the term used by the JVM's no-op garbage collector: https://openjdk.org/jeps/318
I don't have a stron... -
06:04 AM Feature #20612: Introduce new Epsilon (no-op) GC
- Another question is about naming, "Epsilon" is common term for users?
-
12:36 PM Feature #20594: A new String method to append bytes while preserving encoding
- duerst (Martin DΓΌrst) wrote in #note-17:
> This may need a completely separate issue, but when I introduced `String#... -
08:03 AM Feature #20594: A new String method to append bytes while preserving encoding
- Eregon (Benoit Daloze) wrote in #note-9:
> My understanding of `byte*` methods is they treat the String as a byte ... -
12:21 PM Revision a7167d0c (git): Fix ceil when ndigits is large
- [Bug #20654]
This commit fixes Integer#ceil and Float#ceil when the number is
negative and ndigits is large such tha... -
12:21 PM Revision 3af2a7fb (git): Fix floor when ndigits is large
- [Bug #20654]
This commit fixes Integer#floor and Float#floor when the number is
negative and ndigits is large such t... -
07:22 AM Feature #20525: Percent string literal with indentation support or String#dedent
- It conflicts with an existing syntax.
`%` plus a punctuation starts a string literal that ends with the punctuation. -
07:18 AM Bug #20514 (Feedback): Open3#capture3 does not receive correct exit code from Heroku but Kernel#system does
- Some process may behave differently with `Open3.capture3` and `system`, for example, a process that changes its behav...
-
06:37 AM Bug #20501 (Assigned): ruby SEGV
-
06:31 AM Revision 1870505f (git): Fix wrong unreachable chunk remove when jump destination label is unremovable
-
06:31 AM Bug #20655 (Closed): Calling continuation triggers ensure function of rb_ensure
- Applied in changeset commit:git|c884db0b5b4f5296e5eacd27357b730b42f27b3a.
----------
[BUG #20655] Add tests to use r... -
06:31 AM Revision 77f8107e (git): Delete the rjit definition already deleted in C
-
06:31 AM Revision 6c5c30b5 (git): Use tmpdir for various environments (including Windows)
-
06:31 AM Revision 50a0552b (git): Fix test code and extension to avoid using gvars and Kernel methods
-
06:31 AM Revision ac5ac48a (git): Revert 28a1c4f33e3349a98c04b8e068d9c674eb936064
- 28a1c4f33e3349a98c04b8e068d9c674eb936064 seems to call an improper
ensure clause. [Bug #20655]
Than fixing it properl... -
06:31 AM Revision c884db0b (git): [BUG #20655] Add tests to use rb_ensure and call cont.call
-
05:14 AM Bug #20631: Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
- Xcode 16 beta 4 fixed the following issue.
>This line is broken with Xcode 16 beta.
>linking shared-object oj/int... -
03:58 AM Feature #20646 (Closed): Improve Socket.tcp
- Applied in changeset commit:git|b3baa11ee90c3fc0a3c43f1ac3293558fbfe76cb.
----------
Improve Socket.tcp (#11187)
[F... - 03:58 AM Revision b3baa11e (git): Improve Socket.tcp (#11187)
- [Feature #20646]Improve Socket.tcp
This is a proposed improvement to `Socket.tcp`, which has implemented Happy Eyeba... -
03:48 AM Revision 7ea678b2 (git): Add array test cases for `TestParse#test_define_singleton_error`
-
12:45 AM Revision ce565cd4 (git): [Bug #20653] Fix memory leak in String#start_with? when regexp times out (#11255)
- Fix memory leak in String#start_with? when regexp times out
[Bug #20653]
This commit refactors how Onigmo handles t...
07/29/2024
-
11:54 PM Bug #20571: Compile error on for loop
- I looked into this and was able to determine the underlying cause (currently on line 7844 of `compile.c`):
```c
A... - 11:37 PM Revision cdda284c (git): Bump ossf/scorecard-action from 2.3.3 to 2.4.0
- Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.0.
- [Release notes](https:... -
11:33 PM Revision 30f57637 (git): Wait for server threads to finish
- 11:24 PM Revision 0afbc73b (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.98 to 0.9.99.
- [Release notes](https://github.com/oxid... -
09:29 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- > I'd be happier to see something like:
@Eregon given how good TruffleRuby is at escape analysis and such, before ... -
07:40 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- Dan0042 (Daniel DeLorme) wrote in #note-19:
> After reading over https://github.com/ruby/ruby/pull/4734/files it see... -
07:19 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- After reading over https://github.com/ruby/ruby/pull/4734/files it seems there's two parts to it.
1. use a `set_match... -
05:39 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- byroot (Jean Boussier) wrote in #note-4:
> Maybe we could add a new Regexp flag to turn off this behavior?
My fir... -
09:18 PM Revision 2c165531 (git): Revert moving things to Ruby
- This is slowing down benchmarks on x86, so lets revert it for now.
- 08:26 PM Revision acbb8d4f (git): Expand opt_newarray_send to support Array#pack with buffer keyword arg
- Use an enum for the method arg instead of needing to add an id
that doesn't map to an actual method name.
$ ruby --d... -
06:29 PM Bug #20651: `false && (1 in 1)` produces argument stack underflow (-1)
- https://github.com/ruby/ruby/pull/11267
I think this issue is same as https://bugs.ruby-lang.org/issues/20571
~~~... -
03:07 PM Revision 86a762ce (git): [ruby/reline] Fix memory leak in setupterm
- (https://github.com/ruby/reline/pull/733)
The allocated Fiddle::Pointer never gets freed because it doesn't have a
f... -
01:16 PM Revision 63bdf2d7 (git): [ruby/rdoc] [DOC] Mods about markup formats
- (https://github.com/ruby/rdoc/pull/1143)
https://github.com/ruby/rdoc/commit/011de3f2fd -
01:15 PM Revision df1cc043 (git): Add remark about call-seq
-
01:11 PM Revision 477f6725 (git): [DOC] rb_ary_s_create (#11256)
- 03:31 AM Revision d2184e8d (git): Bump github/codeql-action from 3.25.14 to 3.25.15
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.14 to 3.25.15.
- [Release notes](http... - 03:31 AM Revision 14eb3860 (git): Bump ruby/setup-ruby from 1.188.0 to 1.190.0
- Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.188.0 to 1.190.0.
- [Release notes](https://github... -
03:02 AM Bug #20088: Ruby 3.3.0 does not cross-complie on arm64-darwin
- Thanks, I cherry-picked the revision to `ruby_3_3`.
Since this ticket wasn't flagged as a backport request, I also... -
02:56 AM Bug #20088: Ruby 3.3.0 does not cross-complie on arm64-darwin
- ruby_3_3 commit:6d744837abc3f7f71a1f10c7ca399201f6f05e43.
-
02:56 AM Bug #20088 (Closed): Ruby 3.3.0 does not cross-complie on arm64-darwin
- Applied in changeset commit:git|6d744837abc3f7f71a1f10c7ca399201f6f05e43.
----------
[Bug #20088] Fix ARCH_FLAG for ... -
02:55 AM Revision 6d744837 (git): [Bug #20088] Fix ARCH_FLAG for cross compiling
07/28/2024
-
11:01 PM Revision 3f40ceba (git): Specify `LAST_NODE` for `NODE_DEFINED`
- For example:
```
defined?(1)
```
Before:
```
# @ NODE_SCOPE (id: 2, line: 1, location: (1,0)-(1,11))
# +- nd_tbl: ... -
04:07 PM Bug #20088: Ruby 3.3.0 does not cross-complie on arm64-darwin
- @k0kubun Can I ask for 2a4a8466 to be backported to 3.3?
-
11:57 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- > I'm thinking cases of Regexps being stored in constants and potentially composed of other regexps/strings, like htt...
-
08:34 AM Bug #20655: Calling continuation triggers ensure function of rb_ensure
- I guess https://github.com/ruby/ruby/pull/11264 will solve your issue. Could you give it a try with your patch?
-
07:19 AM Feature #20656 (Feedback): Import Hash#except! from Active Support
- willianveiga (Willian Veiga) wrote:
> For some unknown reason, Hash#except! was not imported on #8499. We have Hash#...
07/27/2024
-
11:03 PM Bug #20079: alexandria testsuite began to segfault recently
- vo.x (Vit Ondruch) wrote in #note-13:
> This does not help testing with Ruby 3.3.2
Hmmm that's a bit surprising... -
10:14 PM Feature #20656 (Feedback): Import Hash#except! from Active Support
- For some unknown reason, Hash#except! was not imported on #8499. We have Hash#except, but we don't have the bang vers...
-
10:04 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- Eregon (Benoit Daloze) wrote in #note-14:
> ko1 (Koichi Sasada) wrote in #note-11:
> > I found an idea that each th... -
11:05 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- byroot (Jean Boussier) wrote in #note-9:
> I see what you mean, but such flag would only really be worth using in pla... -
10:58 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- ko1 (Koichi Sasada) wrote in #note-8:
> what does it happen when creating a thread just after storing `$~`?
It's ... -
07:09 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- Interestingly the NO_MATCH regexp options was suggested in the ticket that led to `Regexp#match?` [Feature #8110]
-
07:00 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- I don't follow, how can it be re-used in your example? :
```ruby
def foo
if /foo/ =~ "foo" # generate MatchDat... -
06:19 AM Bug #20655 (Closed): Calling continuation triggers ensure function of rb_ensure
- The bug is reproduced when:
* `rb_ensure(func1, arg1, func2, arg2)` is called with arguments:
* func1: eventually...
07/26/2024
-
08:23 PM Bug #20635: Can't build fat binaries on Darwin (Mac OS X)
- If you run `make V=1`, you can get the command which causes the SIGBUS. With that, you can run it under a debugger (n...
-
04:08 AM Bug #20635: Can't build fat binaries on Darwin (Mac OS X)
- Apologies for the delay in responding. The two-factor authentication had me locked out of this site.
Regarding the ... -
07:19 PM Feature #20625: Object#chain_of
- @zverok do you think `Enumerator#chain_of?` would be useful as an specialization of `produce().take_while {!_1.nil?}`?
-
05:20 PM Revision e798f45c (git): Error when --with-shared-gc doesn't specify a directory
-
05:07 PM Revision a65c205a (git): [ruby/prism] Add explicit check for PRISM_HAS_NO_FILESYSTEM
- https://github.com/ruby/prism/commit/89c22f0e6c
-
05:07 PM Revision 1992bd31 (git): [ruby/prism] Fallback to pm_string_file_init on platforms without memory-mapped files
- > ..., and on other POSIX systems we'll use `read`.
As `pm_string_mapped_init`'s doc comment says, it should fall ba... -
05:04 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- I found an idea that each thread points to unescaped MatchData rather than `$~` and reuse it.
In other words, all gen... -
01:54 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- byroot (Jean Boussier) wrote in #note-9:
> > I don't really like a Regexp flag for this because a Regexp might be us... -
12:09 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- > I don't really like a Regexp flag for this because a Regexp might be used in different contexts and some usages mig...
-
12:05 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- Eregon (Benoit Daloze) wrote in #note-7:
> FWIW, what TruffleRuby does for this is to store `$~` as a frame-local th... -
11:09 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- FWIW, what TruffleRuby does for this is to store `$~` as a frame-local thread-local variable, but thread-local only i...
-
09:23 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- > it could be better if we had a gsub variant that doesn't touch $~.
Right, but the problem is beyond `gsub`, e.g.... -
07:19 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- I agree this is counter-intuitive. The #17507 problem was that
```ruby
i = lambda { ...(touches $~)... }
many... -
06:15 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- > If anyone can come up with an approach that fixes #17507 without causing an increase in memory usage
I guess I'... -
04:33 PM Misc #20628: DevMeeting-2024-08-01
- * [Bug #20620] singleton_method undefined for module using "extend self" (jeremyevans0)
* I believe this is expect... -
03:55 PM Misc #20628: DevMeeting-2024-08-01
- * [Feature #18368] Range#step semantics for non-Numeric ranges (zverok)
* The feature was approved a year ago by @... -
03:13 PM Misc #20628: DevMeeting-2024-08-01
- * [Feature #20590] Ensure `fork` isn't called when `raddrinfo`'s background thread is in `getaddrinfo` (byroot)
* ... - 03:44 PM Revision cb5c4605 (git): * expand tabs. [ci skip]
- Please consider using misc/expand_tabs.rb as a pre-commit hook.
-
03:44 PM Revision 158177e3 (git): Improve allocation throughput by outlining cache miss code path
- Previously, GCC 11 on x86-64 inlined the heavy weight logic for
potentially triggering GC into newobj_alloc(). This s... -
03:44 PM Revision a06cfa7e (git): Fix a -Wmaybe-uninitialized
- With the body of functions available, GCC noticed that lev is
uninitialized in rb_gc_vm_lock_no_barrier() in single r... -
03:44 PM Revision 0ada02ab (git): Put the default GC implementation back into gc.o
- We discovered that having gc.o and gc_impl.o in separate translation
units diminishes codegen quality with GCC 11 on ... -
03:44 PM Revision cef959df (git): Delete unused rb_gc_impl_get_finalizers() not in gc_impl.h
-
03:22 PM Revision aaa542d8 (git): Doc for some #ceil and #floor
-
03:22 PM Revision 78f1b835 (git): Doc for some #ceil and #floor
-
03:20 PM Feature #19993 (Closed): Optionally Free all memory at exit
-
03:19 PM Bug #20654 (Closed): Floor and ceil have unexpected behaviour when ndigits is large
- GitHub PR: https://github.com/ruby/ruby/pull/11257
There is unexpected behaviour in Integer#floor, Float#floor, In... -
01:43 PM Bug #20653: Memory leak in String#start_with? when regexp times out
- Ruby 3.3 backport PR: https://github.com/ruby/ruby/pull/11255
-
12:42 PM Bug #20653 (Closed): Memory leak in String#start_with? when regexp times out
- Applied in changeset commit:git|7464514ca5e825ada31522b63a33e02d62a0a248.
----------
Fix memory leak in String#start... -
01:37 PM Revision 0cc98ae3 (git): skip bundled gem rss test for a while.
-
12:42 PM Revision 7464514c (git): Fix memory leak in String#start_with? when regexp times out
- [Bug #20653]
This commit refactors how Onigmo handles timeout. Instead of raising a
timeout error, onig_search will ... -
12:16 PM Revision 67e1ea00 (git): [rubygems/rubygems] Remove inconsistent whitespace from CLI flags
- RuboCop sometimes accepts extra spaces for alignment, but in this case I
don't see any consistent alignment.
https:/... -
11:54 AM Revision 31d0f1a2 (git): bump patchlevel.
-
11:53 AM Revision 367ad505 (git): Revert "merge revision(s) 9f708d48f6df37ee9600db9d51b57a156609a13b,0301473fb523c71d8cdc4966971f31f502001185,7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516]"
- This reverts commit 56c311aa0b20dee13ab43309ae3386f57f8cb797.
-
09:41 AM Revision ae9a4351 (git): bump teeny
-
08:05 AM Revision bfaccd64 (git): [rubygems/rubygems] Make all tests still pass when switching from truffleruby to cruby
- https://github.com/rubygems/rubygems/commit/4f3d9fa3bf
-
08:05 AM Revision 7feccb12 (git): [rubygems/rubygems] Make test env resilient to ruby version changes
- We use pre-existence of `rake_path` to decide whether we need to
regenerate dummy test gems in `tmp`. When changing r... -
07:56 AM Revision 71dec15a (git): [rubygems/rubygems] Fix bundle check exit code when git gem is missing
- Make `bundle check` exit with code 1 when gem git source is not yet
checked out.
https://github.com/rubygems/rubygem... -
06:20 AM Feature #20594: A new String method to append bytes while preserving encoding
- Ok, so after thinking about this for a bit, I think a good name would be:
- `String#append_bytes(String) => self... - 02:57 AM Revision 3542ad52 (git): Bump github/codeql-action from 3.25.13 to 3.25.14
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.13 to 3.25.14.
- [Release notes](http... -
02:24 AM Revision 5f1eb0dc (git): Fix wrong conversion in disasm dump
- `LINK_ELEMENT::type` is an `enum` not a `VALUE`, `FIX2LONG` doesn't
make sense. -
01:58 AM Misc #20639: Request to host C API docs on docs.ruby-lang.org
- I added <https://docs.ruby-lang.org/capi/en/master/> and link from <https://docs.ruby-lang.org/> to it.
-
01:45 AM Revision 83a99bdb (git): [ruby/net-http] Removed needless NullWriter class
- https://github.com/ruby/net-http/commit/ddb2a81aed
-
01:29 AM Revision 2c76bb7e (git): Remove `struct RNode_VALUES`
- This was removed by a5cc6341c0688c346f70098652b2375c03df40aa.
07/25/2024
-
10:29 PM Revision f2728c33 (git): Change RESBODY Node structure
- Extracrt exception variable into `nd_exc_var` field
to keep the original grammar structure.
For example:
```
begin
... - 07:50 PM Revision a4563be0 (git): [rubygems/rubygems] bundle-gem learns to find Gemfile template correctly
- Removes the symlink for gems.rb.tt and instead uses the singular
template file. Only the destination filename for the... -
07:34 PM Bug #20653 (Closed): Memory leak in String#start_with? when regexp times out
- GitHub PR: https://github.com/ruby/ruby/pull/11247
This commit refactors how Onigmo handles timeout. Instead of ra... -
07:25 PM Revision 54ff3d69 (git): Fix test_kwarg_eval_memory_leak
- Hash.new no longer takes keyword arguments except for capacity, so we
should just use a method that takes keyword arg... -
06:59 PM Revision 24770c30 (git): [ruby/prism] Sync from ruby/ruby
- https://github.com/ruby/prism/commit/280517c325
-
04:46 PM Revision 83b0cedf (git): Add branch prediction annotations for object allocation
- I get a slight boost from these with GCC 11 on Intel Skylake.
Part of a larger story to fix an allocation throughput... -
04:14 PM Revision 7571ad42 (git): [Bug #20650] Fix memory leak in Regexp capture group when timeout (#11244)
- Fix memory leak in Regexp capture group when timeout
[Bug #20650]
The capture group allocates memory that is leaked... -
02:18 PM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- It's expected that fixing #17507 caused memory usage to increase. If anyone can come up with an approach that fixes ...
-
11:13 AM Misc #20652: Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- @jeremyevans0 What do you think?
-
10:11 AM Misc #20652 (Closed): Memory allocation for gsub has increased from Ruby 2.7 to 3.3
- I recently upgraded from ruby 2.7.7 to 3.3.1 and noticed that the GC load increased.
When I used the allocation prof... -
01:54 PM Bug #20650: Memory leak in Regexp capture group when timeout
- I opened a Ruby 3.3 backport here: https://github.com/ruby/ruby/pull/11244
-
01:23 PM Bug #20650 (Closed): Memory leak in Regexp capture group when timeout
- Applied in changeset commit:git|10574857ce167869524b97ee862b610928f6272f.
----------
Fix memory leak in Regexp captu... -
01:23 PM Revision 10574857 (git): Fix memory leak in Regexp capture group when timeout
- [Bug #20650]
The capture group allocates memory that is leaked when it times out.
For example:
re = Regexp.new... -
11:39 AM Revision 53f0d3b1 (git): [ruby/prism] Do not serialize common flags when PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS is set
- * Note that we could shift the flags by 2 on serialize & deserialize
but it does not seems worth it as it does not ... -
11:39 AM Revision 9cc2747e (git): [ruby/prism] Do not serialize node_id when PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS is set
- * $ bundle exec rake serialized_size:topgems
Before:
Total sizes for top 100 gems:
total source size: 90207647
t... -
07:46 AM Bug #20651 (Closed): `false && (1 in 1)` produces argument stack underflow (-1)
- `false && (1 in 1)` and `true || (1 in 1)` produces argument stack underflow since ruby 3.0
~~~
# ruby -v
ruby 3... -
05:43 AM Revision 22ad6b24 (git): Extend RUBY_TEST_TIMEOUT_SCALE on macos-14 and --repeat-count=2
-
04:47 AM Revision 5f6a1c2e (git): Omit TestFile#test_stat when the machine is stupidly slow
- GitHub Actions macos-14 machine is stupid.
https://app.launchableinc.com/organizations/ruby/workspaces/ruby/data/tes... -
04:23 AM Revision 357ae357 (git): Dump forwarding field of `struct rb_args_info` and `struct RNode_BLOCK_PASS`