-
Notifications
You must be signed in to change notification settings - Fork 5.4k
backport 20172 #9796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
backport 20172 #9796
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Bump up net-ftp to 0.3.4 * Bump up net-smtp to 0.4.0.1 * Bump up net-imap to 0.4.9.1 * [ruby/net-http] Renew test certificates The private key is replaced with a public known test key published at [RFC 9500]. Also lifetime has been extended to 10 years from 4 years. [RFC 9500]: https://www.rfc-editor.org/rfc/rfc9500.html ruby/net-http@4ab6c4a500 * Bump up net-http to 0.4.1 --------- Co-authored-by: Sorah Fukumori <[email protected]>
Fix Window private file mapping unlink EACCES issue. (#9358) * Don't return early. * Add missing `mapping` assignment. * Make debug logs conditional. --- io_buffer.c | 18 ++++++++++++------ test/ruby/test_io_buffer.rb | 32 ++++++++++++++------------------ 2 files changed, 26 insertions(+), 24 deletions(-)
Fix [Bug #20083]: correct a cache point size for atomic groups (#9367) --- regexec.c | 2 +- test/ruby/test_regexp.rb | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)
[Bug #20094] Distinguish `begin` and parentheses --- compile.c | 1 + parse.y | 36 +++++++++++++++++++++--------------- test/ruby/test_whileuntil.rb | 18 ++++++++++++++++++ 3 files changed, 40 insertions(+), 15 deletions(-)
This reverts commit d4b780e.
Use index for referring to symbols in `args` rule instead of named references In `args: args ',' arg_splat`, `args` is not unique name. Currently the associated rule is interpreted as `$$ = rest_arg_append(p, $$, $3, &@$);`. The action works as expected because `$$` is initialized with `$1` before each action is executed. However it's misleading then change to use index. --- parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Don't create T_MATCH object if /regexp/.match(string) doesn't match Fixes [Bug #20104] --- re.c | 9 ++++++--- test/ruby/test_regexp.rb | 12 ++++++++++++ tool/lib/envutil.rb | 8 ++++++++ 3 files changed, 26 insertions(+), 3 deletions(-)
Memory leak when duplicating identhash [Bug #20145] Before this commit, both copy_compare_by_id and hash_copy will create a copy of the ST table, so the ST table created in copy_compare_by_id will be leaked. h = { 1 => 2 }.compare_by_identity 10.times do 1_000_000.times do h.select { false } end puts `ps -o rss= -p #{$$}` end Before: 110736 204352 300272 395520 460704 476736 542000 604704 682624 770528 After: 15504 16048 16144 16256 16320 16320 16752 16752 16752 16752 --- hash.c | 10 +++++++++- test/ruby/test_hash.rb | 10 ++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-)
Free pthread_attr after setting up the thread [bug #20149] --- ext/socket/raddrinfo.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
* Fix GC.measure_total_time regression Commit 93ac740 introduced a regression where measurements would still be taken after setting GC.measure_total_time = false. Fixes [Bug #20157] * Add test case for GC.measure_total_time --------- Co-authored-by: Rian McGuire <[email protected]>
racc is extracted at Ruby 3.3, not 3.4
Fix to work match cache with peek next optimization (#9459) --- regexec.c | 3 ++- test/ruby/test_regexp.rb | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) Fix test case for `test_match_cache_with_peek_optimization` (#9466) --- test/ruby/test_regexp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Remove setaffinity of pthread for getaddrinfo It looks like `sched_getcpu(3)` returns a strange number on some (virtual?) environments. I decided to remove the setaffinity mechanism because the performance does not appear to degrade on a quick benchmark even if removed. [Bug #20172] --- ext/socket/extconf.rb | 2 -- ext/socket/raddrinfo.c | 48 ++++-------------------------------------------- 2 files changed, 4 insertions(+), 46 deletions(-)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ruby file: ".ruby-version"
relative to GemfileSTATIC_KEYS
flag forKeywordHashNode
KeywordHashNode
s withSTATIC_KEYS
set, until hit an element that should clear it*
rubygems/request
where it's usedBUNDLER_IGNORE_DEFAULT_GEM
set--no-user-install
is respected for auto user installationoptions[:user_install]
can have.bundle info
RJIT_TARGET_OK
(Fix a typo forRJIT_TARGET_OK
#8222)PM_KEYWORD_HASH_NODE_FLAGS_STATIC_KEYS
flag in compilerdefault_stubs
nowARCH_FLAG
when--with-arch
with single CPUARCH_FLAG
when cross-compiling on macOSruby setup.rb
leaving traces in source folderin
keyword in argumentsRDoc::Encoding.remove_frozen_string_literal
compile_prism
when src is a fileskip
in bootstraptestRactor::Selector
from Ruby leveldefault_proc=
undocumnted
target [ci skip]:nodoc:
in C codeFile::Constants
toFile
constantsFile::Constants
in dir.c toFile
constantsPTY.getpty
as an alias ofPTY.spawn
BasicSocket#recv
documentation on return valueinitialize
in shape perf warningsched->lock_onwer
at forkcompare_by_identity
instead ofobject_id
assert_same
in tests where applicabledladdr
use in symbol incompatibility checkreset_sigmask
use on Emscriptenwaiting_fd
forthread_sched_wait_events()
rb_thread_io_blocking_call
rb_thread_io_blocking_call()
moreGC.auto_compact = :empty
on debug buildsthread_sched_wait_events_timeval
MAP_STACK
on FreeBSDbti c
as BTI landing padautiasp
arg_splat
nonterminal symbolforwarding_arg_check
functionPRECHECK_TEST_ALL
#if 1
in array.ctimer_th.waiting
with lockRB_WAITFD_IN | RB_WAITFD_OUT
for waiting eventsccan_list_for_each