Age | Commit message (Collapse) | Author |
---|
| Just a bit of minor cleanup Signed-off-by: Tim Smith <[email protected]> Notes: Merged: https://.com/ruby/ruby/pull/13636 |
| This write barrier occurred before the entry was added to the table, so if GC occurred when inserting into the table, the write could be missed. Notes: Merged: https://.com/ruby/ruby/pull/13631 |
| After returning from the callback in st_update is the point that the hash table may be resized, which could trigger a GC and mark the table being used for the tally. RUBY_GC_LIBRARY=wbcheck WBCHECK_VERIFY_AFTER_WB=1 ./miniruby -e '(0...100).map(&:to_s).tally' Notes: Merged: https://.com/ruby/ruby/pull/13629 |
| We clear the CFP first so that if a sampling profiler interrupts the current thread during `rb_ec_set_vm_stack`, `thread_profile_frames` returns early instead of trying to walk the stack that's no longer set on the ec. The early return in `thread_profile_frames` was introduced at eab7f4623fb. Fixes [Bug #21441] Notes: Merged: https://.com/ruby/ruby/pull/13643 |
| * Update method names. * Sort shuffled tests by names. Notes: Merged: https://.com/ruby/ruby/pull/13640 |
| This reverts commit 980f61935f6e8331e0908dc963e60fb727ab4d8c, which seems no longer needed. Notes: Merged: https://.com/ruby/ruby/pull/13640 |
| Do not clear the commit-wide flags per file. |
| Notes: Merged: https://.com/ruby/ruby/pull/13626 |
| Followup: https://.com/ruby/ruby/pull/13589 This simplify a lot of things, as we no longer need to manually manage the memory, we can use the Read-Copy-Update pattern and avoid numerous race conditions. Co-Authored-By: Étienne Barrié <[email protected]> Notes: Merged: https://.com/ruby/ruby/pull/13626 |
| Notes: Merged: https://.com/ruby/ruby/pull/13626 |
| Notes: Merged: https://.com/ruby/ruby/pull/13626 |
| Notes: Merged: https://.com/ruby/ruby/pull/13626 |
| Issue a call to rb_vm_opt_getconstant_path() like the interpreter, but since that allocates the IC, we need to save the PC before calling. Add FrameState to GetConstPath to get access to the PC. Notes: Merged: https://.com/ruby/ruby/pull/13628 |
| * `opt_hash_freeze` * `opt_ary_freeze` * `opt_str_freeze` * `opt_str_uminus` Similar to `opt_neq`, but there are no args for `freeze` Co-authored-by: ywenc <[email protected]> Co-authored-by: Max Bernstein <[email protected]> Notes: Merged: https://.com/ruby/ruby/pull/13588 |
| ruby/ruby#13636 https://.com/ruby/prism/commit/e13d4f19db Co-Authored-By: Tim Smith <[email protected]> |
| ``` compare-ruby: ruby 3.5.0dev (2025-06-17T08:45:40Z master e9d35671d2) +PRISM [arm64-darwin24] last_commit=[ruby/json] Fix a typo built-ruby: ruby 3.5.0dev (2025-06-17T09:27:05Z opt-getivar-for-cl.. ed1d7cd778) +PRISM [arm64-darwin24] | |compare-ruby|built-ruby| |:---------------------|-----------:|---------:| |vm_ivar_of_class_set | 12.306M| 13.957M| | | -| 1.13x| |vm_ivar_of_class | 16.167M| 24.029M| | | -| 1.49x| ``` Notes: Merged: https://.com/ruby/ruby/pull/13639 |
| ruby/ruby#13636 https://.com/ruby/tempfile/commit/366d9ccb8f Co-Authored-By: Tim Smith <[email protected]> |
| ruby/ruby#13636 https://.com/ruby/json/commit/6fc2c4b6ab Co-Authored-By: Tim Smith <[email protected]> |
| |
| |
| https://.com/rubygems/rubygems/commit/228f59e3ab |
| https://.com/rubygems/rubygems/commit/e28b5e306f |
| Could potentially fix some flakies we're using and make the specs more "modern" and simplifies them because less fallbacks are involved. https://.com/rubygems/rubygems/commit/30da9a1a93 |
| I don't think the indirection improve things. https://.com/rubygems/rubygems/commit/b408b28844 |
| If a previous copy of a gem is already installed, RubyGems will not reinstall the gem but only recompile its extensions. This seems like a good idea, but only if the gem is being installed from the registry. If we are installing a locally built package, then the package should be completely reinstalled and extensions compiled from the sources in the locally built package, not from the sources in the previous installation. https://.com/rubygems/rubygems/commit/1c282d98d5 |
| https://.com/rubygems/rubygems/commit/9a859078ab |
| I don't see any warnings. https://.com/rubygems/rubygems/commit/395df777a2 |
| https://.com/rubygems/rubygems/commit/945a29a477 |
| Previously we were performing a realloc and then inserting the new value into the table. If the table was flagged as requiring a rebuild, this could trigger GC work and marking within that GC could access the fields freed by realloc. Notes: Merged: https://.com/ruby/ruby/pull/13635 |
| The `source` field in IO::Buffer can have a String or an IO::Buffer object, if not nil. - When the `source` is a String object. The `base` field points to the memory location of the String content, which can be embedded in RSTRING, and in that case, GC compaction can move the memory region along with the String object. Thus, IO::Buffer needs to pin the `source` object to prevent `base` pointer from becoming invalid. - When the `source` is an IO::Buffer, then `base` is a pointer to a malloced or mmapped memory region, managed by the source IO::Buffer. In this case, we don't need to pin the source IO::Buffer object, since the referred memory region won't get moved by GC. Closes: [Bug #21210] Notes: Merged: https://.com/ruby/ruby/pull/13033 |
| This reverts commit 6012145299cfa4ab561360c78710c7f2941a7e9d. Notes: Merged: https://.com/ruby/ruby/pull/13033 |
| - Put shell commands in code blocks so they can easily be copied from the UI directly - Fix a few typos - Fix a dead link to MSDN Signed-off-by: Tim Smith <[email protected]> https://.com/ruby/win32-registry/commit/61a4672df7 |
| Notes: Merged: https://.com/ruby/ruby/pull/13634 |
| Notes: Merged: https://.com/ruby/ruby/pull/13634 |
| Notes: Merged: https://.com/ruby/ruby/pull/13634 |
| Notes: Merged: https://.com/ruby/ruby/pull/13634 |
| Notes: Merged: https://.com/ruby/ruby/pull/13630 |
| Prior to this commit we compiled `putstring` and `putchilledstring` to `StringCopy`, but then failed to compile past HIR. This commit adds codegen for `StringCopy` to call `rb_ec_str_ressurrect` as the VM does for these instructions. Notes: Merged: https://.com/ruby/ruby/pull/13625 |
| in that case Notes: Merged: https://.com/ruby/ruby/pull/13615 |
| rb_str_unlocktmp() Notes: Merged: https://.com/ruby/ruby/pull/13615 |
| * ZJIT: Add support for putspecialobject * Address feedback * Update tests * Adjust the indentation of a Ruby test --------- Co-authored-by: Takashi Kokubun <[email protected]> Notes: Merged-By: k0kubun <[email protected]> |
| Notes: Merged: https://.com/ruby/ruby/pull/13624 |
| It is checked against the given `list`, do not print the same output twice. Notes: Merged: https://.com/ruby/ruby/pull/13624 |
| Notes: Merged: https://.com/ruby/ruby/pull/13624 |
| |
| (#13622) Launchable: Terminate Launchable CLI process quickly by sending singals to a process group Sometimes, the timeout errors occurred in Compilations workflow, this is because Launchable CLI process was not terminated correctly. To address this issue, we'll send signals to a process group. https://.com/ruby/ruby/actions/runs/15614867686 https://.com/ruby/ruby/actions/runs/15662906947 Co-authored-by: Kazuhiro NISHIYAMA <[email protected]> Notes: Merged-By: ono-max <[email protected]> |
| with old Bundler https://.com/rubygems/rubygems/commit/ce7e8e92ca |
| Issue - https://bugs.ruby-lang.org/issues/21436 Apparently, the lower bound check is missing, which results in overflow & wrapping later on in RB_INT2FIX Signed-off-by: Dmitry Dygalo <[email protected]> https://.com/ruby/date/commit/67d75e8423 |
| Addresses https://bugs.ruby-lang.org/issues/21437 Signed-off-by: Dmitry Dygalo <[email protected]> https://.com/ruby/date/commit/31f07bc576 |
| |