summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-11-11[ruby/rubygems] Use Spec::Path.relative_gemspecHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/2142e405b0
2025-11-11[ruby/rubygems] build gems directly instead of shelling outAaron Patterson
I'm trying to speed up the bundler tests. The tests shell out a lot in order to build gems. We can build gems without creating a sub-process. This change reduced the test suite time from ~24 minutes, to about ~21 minutes on my machine. Once we have more of these "asset generation" routines done in the same process, I think we can start caching the outputs for further improvements https://github.com/ruby/rubygems/commit/ebf27056c6
2025-11-10ZJIT: Rename things so that they aren't named "not_optimized_optimized" (#15135)Randy Stauner
These refer to "OptimizedMethodType" which is a subcategory of "MethodType::Optimized" so name them after the latter to avoid "not_optimized_optimized".
2025-11-10ZJIT: Set cfp->sp on leaf calls with GC (#15137)Takashi Kokubun
Co-authored-by: Randy Stauner <randy@r4s6.net>
2025-11-10Add test for [Bug #21265]Alan Wu
The crash was fixed by a4dff09be79b52288a47658964d25e5aa84fc960 ("Fix resolving refined module-defined method"). I had a patch for this around for a few months but never merged it. Oops!
2025-11-10Fix printf specificer. %lp doesn't make sense. Triggered -WformatAlan Wu
2025-11-11Revert "ns_subclasses refcount accesses need to be atomic (#15083)" (#15138)Luke Gruber
This reverts commit 2998c8d6b99ec49925ebea42198b29c3e27b34a7. We need to find a better way to fix this bug. Even with this refcount change, errors were still being seen in CI. For now we need to remove this failing test.
2025-11-10[DOC] Clarify `Thread#kill` documentation. (#15132)Luke Gruber
Mention that it is asynchronous and that the killed thread can still run a small amount of ruby code before exiting.
2025-11-10Fix `thread_sched_wait_events` race (#15067)Luke Gruber
This race condition was found when calling `Thread#join` with a timeout inside a ractor. The race is between the polling thread waking up the thread and the `ubf` getting called (`ubf_event_waiting`). The error was that the ubf or polling thread would set the thread as ready, but then the other function would do the same. Fixes [Bug #21614]
2025-11-11ZJIT: Reduce duplication between profiled_type_of_at and resolve_receiver_typeStan Lo
2025-11-11ZJIT: Don't need to store class in profiled type resolution enumsStan Lo
2025-11-10Fix memory leak in ObjectSpace tracingPeter Zhu
allocation_info_tracer_compact_update_object_table_i deletes entries where the key is no longer in the GC heap but did not free the allocation_info causing the memory to be leaked.
2025-11-10ZJIT: Split unhandled_hir_insn and unknown_newarray_send stats (#15127)Takashi Kokubun
2025-11-10Remove unused subclass methodsJohn Hawthorn
2025-11-10ZJIT: Rename not_optimized_instruction to uncategorized_instruction (#15130)Randy Stauner
Make it more obvious that this hasn't been handled and could be broken down more.
2025-11-10Fix memory leak in subclasses when freeing classextPeter Zhu
We don't decrement the super and module subclasses count for iclasses that are having their classext replaced. This causes the reference count to be incorrect and leak memory. The following script demonstrates the memory leak: module Foo refine(Object) do define_method(:<=) {} end end class Bar include Comparable end With RUBY_FREE_AT_EXIT and ASAN, we can see many memory leaks, including: Direct leak of 16 byte(s) in 1 object(s) allocated from: #0 0x599f715adca2 in calloc (miniruby+0x64ca2) #1 0x599f716bd779 in calloc1 gc/default/default.c:1495:12 #2 0x599f716d1370 in rb_gc_impl_calloc gc/default/default.c:8216:5 #3 0x599f716b8ab1 in ruby_xcalloc_body gc.c:5221:12 #4 0x599f716b269c in ruby_xcalloc gc.c:5215:34 #5 0x599f715eab23 in class_alloc0 class.c:790:22 #6 0x599f715e4bec in class_alloc class.c:836:12 #7 0x599f715e60c9 in module_new class.c:1693:17 #8 0x599f715e60a2 in rb_module_new class.c:1701:12 #9 0x599f715e6303 in rb_define_module class.c:1733:14 #10 0x599f715ebc5f in Init_Comparable compar.c:315:22 #11 0x599f716e35f5 in rb_call_inits inits.c:32:5 #12 0x599f7169cbfd in ruby_setup eval.c:88:9 #13 0x599f7169cdac in ruby_init eval.c:100:17 #14 0x599f715b0fa9 in rb_main main.c:41:5 #15 0x599f715b0f59 in main main.c:62:12 #16 0x739b2f02a1c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #17 0x739b2f02a28a in __libc_start_main csu/../csu/libc-start.c:360:3 #18 0x599f7157c424 in _start (miniruby+0x33424)
2025-11-10ZJIT: Add patch_point_count stat (#15100)Takashi Kokubun
2025-11-10Allow --jit to mean zjit if yjit isn't definedRandy Stauner
The --help output suggests this should work as ZJIT is labeled as the default if YJIT isn't enabled.
2025-11-10ZJIT: Define jit_compile_exception for ZJIT even without YJITRandy Stauner
Seems like an oversight
2025-11-10ZJIT: Fix land raceMax Bernstein
2025-11-10ZJIT: Snapshot once per YARV insn (#15082)Max Bernstein
This is roughly net-neutral for the number of instructions created but at least cenetralizes where the Snapshot is made. Previously, we might have multiple Snapshot per YARV instruction depending on if it had event flags, if the body of the instruction also needed a Snapshot, etc.
2025-11-10ZJIT: Deduplicate side exits (#15105)Takashi Kokubun
2025-11-10[DOC] Update missing docsNobuyoshi Nakada
2025-11-10Move grouping by upstreams to SyncDefaultGems::RepositoryNobuyoshi Nakada
It is also useful to distribution changes to each upstream repository.
2025-11-10[ruby/zlib] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/zlib/commit/25355bc1dc
2025-11-10[ruby/yaml] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/yaml/commit/388cd27291
2025-11-10[ruby/weakref] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/weakref/commit/cccde64080
2025-11-10[ruby/tempfile] [DOC] Suppress documentation for internalsNobuyoshi Nakada
https://github.com/ruby/tempfile/commit/475d719e4d
2025-11-10[ruby/singleton] [DOC] Missing documentationNobuyoshi Nakada
Suppress documentation for internals https://github.com/ruby/singleton/commit/4ac0cc497d
2025-11-10[ruby/rubygems] Hide patchlevel from lockfileHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/9b169c700f
2025-11-10[ruby/prettyprint] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/prettyprint/commit/3a43a4bbf6
2025-11-10[ruby/pp] [DOC] Suppress documentation for internalsNobuyoshi Nakada
https://github.com/ruby/pp/commit/e1f39cb39c
2025-11-10[ruby/open3] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/open3/commit/e6d09a6aa8
2025-11-10[ruby/open-uri] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/open-uri/commit/1ccc576e9a
2025-11-10[ruby/forwardable] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/forwardable/commit/909986fee9
2025-11-10[ruby/find] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/find/commit/01232ad51a
2025-11-10[ruby/erb] [DOC] Suppress documentation for internalsNobuyoshi Nakada
https://github.com/ruby/erb/commit/332e200060
2025-11-10[ruby/delegate] [DOC] Update missing docs and mark upsNobuyoshi Nakada
https://github.com/ruby/delegate/commit/020a6cfe4b
2025-11-10[ruby/digest] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/digest/commit/16b598d6f2
2025-11-10[ruby/timeout] Suppress warnings in two testsOlle Jonsson
Failed build in #70. Pre-3.0 versions of Ruby didn't support pattern matching, and power_assert warned. https://github.com/ruby/timeout/commit/983cbf636a
2025-11-10[ruby/rubygems] Make verification methods privateAaron Patterson
I would like to start making some of the methods in Gem::Package private so that we can refactor them better. Right now we have many methods that are public, and since they are public we can't refactor them. Historically, I think "private" methods have just been tagged with :nodoc:, but I would like to be more strict about our APIs https://github.com/ruby/rubygems/commit/fb352e9176
2025-11-10[ruby/rubygems] [DOC] Fix markupsNobuyoshi Nakada
Use `<tt>` instead of `+` that cannot enclose punctuations. https://github.com/ruby/rubygems/commit/f84035c0b6
2025-11-10[ruby/rubygems] [DOC] Fix the location of Gem::Deprecate documentNobuyoshi Nakada
It was bound to `module Gem`, instead of `module Deprecate`. https://github.com/ruby/rubygems/commit/da29f74ba1
2025-11-10[ruby/stringio] Suppress warnings against pattern matching on ruby 2.7Nobuyoshi Nakada
https://github.com/ruby/stringio/commit/cf58a203eb
2025-11-10[ruby/cgi] [DOC] Missing documentsNobuyoshi Nakada
https://github.com/ruby/cgi/commit/ebd04d1eb1
2025-11-10[ruby/rubygems] Fixed with Lint/RedundantSplatExpansionHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/2078f3d351
2025-11-10[ruby/stringio] [DOC] Suppress documentation for internalsNobuyoshi Nakada
https://github.com/ruby/stringio/commit/27b2fb2fce
2025-11-10[ruby/net-http] [DOC] Suppress documentation for internalsNobuyoshi Nakada
https://github.com/ruby/net-http/commit/b7c586985a
2025-11-10Bump actions/checkout from 4 to 5dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10[ruby/net-http] Remember if TCPSocket impl supports open_timeoutDaisuke Aritomo
For open_timeout support detection, the previous implementation relied on an ArgumentError being raised and then rescued. In Ruby, rescue is a rather expensive operation and should be avoided when possible. This patch reduces the number of begin-rescues by remembering if the TCPSocket implementation supports open_timeout. https://github.com/ruby/net-http/commit/06d982f3a1