summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
6 daysFix minor typos in comments, specs, and docsTim Smith
Just a bit of minor cleanup Signed-off-by: Tim Smith <[email protected]> Notes: Merged: https://.com/ruby/ruby/pull/13636
6 daysFix early write barrier rb_marshal_define_compatJohn Hawthorn
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
6 daysFix too early writebarrier in tally_upJohn Hawthorn
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
6 daysthread_cleanup: set CFP to NULL before clearing ec's stackLuke Gruber
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
6 daysFollow up testunitNobuyoshi Nakada
* Update method names. * Sort shuffled tests by names. Notes: Merged: https://.com/ruby/ruby/pull/13640
6 daysRevert "Temporary pend unknown behavior of parallel tests"Nobuyoshi Nakada
This reverts commit 980f61935f6e8331e0908dc963e60fb727ab4d8c, which seems no longer needed. Notes: Merged: https://.com/ruby/ruby/pull/13640
7 daysFix up tool/auto-style.rbNobuyoshi Nakada
Do not clear the commit-wide flags per file.
7 daysAdd missing write barriers in `rb_imemo_fields_clone`.Jean Boussier
Notes: Merged: https://.com/ruby/ruby/pull/13626
7 daysRefactor generic fields to use `T_IMEMO/fields` objects.Jean Boussier
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
7 daysRefactor `rb_imemo_fields_new` to not assume T_CLASSJean Boussier
Notes: Merged: https://.com/ruby/ruby/pull/13626
7 daysRename `imemo_class_fields` -> `imemo_fields`Jean Boussier
Notes: Merged: https://.com/ruby/ruby/pull/13626
7 daysHandle false positives in tool/auto-style.rbJean Boussier
Notes: Merged: https://.com/ruby/ruby/pull/13626
7 daysZJIT: Add codegen (and FrameState) for GetConstPathAlan Wu
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
7 daysZJIT: Parse opt freeze insns to HIRDaniel Colson
* `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
7 days[ruby/prism] [DOC] Fix a typo in commentNobuyoshi Nakada
ruby/ruby#13636 https://.com/ruby/prism/commit/e13d4f19db Co-Authored-By: Tim Smith <[email protected]>
7 daysOptimize `benchmark/vm_ivar_of_class`Jean Boussier
``` 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
7 days[ruby/tempfile] [DOC] Fix a typoNobuyoshi Nakada
ruby/ruby#13636 https://.com/ruby/tempfile/commit/366d9ccb8f Co-Authored-By: Tim Smith <[email protected]>
7 days[ruby/json] Fix a typoNobuyoshi Nakada
ruby/ruby#13636 https://.com/ruby/json/commit/6fc2c4b6ab Co-Authored-By: Tim Smith <[email protected]>
7 daysAdjust indent [ci]Nobuyoshi Nakada
7 dayslewagon/wait-on-check-action didn't need bot tokenHiroshi SHIBATA
7 days[rubygems/rubygems] Etc exemption on Windows is no longer necessaryDavid Rodríguez
https://.com/rubygems/rubygems/commit/228f59e3ab
7 days[rubygems/rubygems] Reword a couple of specs to further clarify themDavid Rodríguez
https://.com/rubygems/rubygems/commit/e28b5e306f
7 days[rubygems/rubygems] Migrate mirror probe specs to use the compact index APIDavid Rodríguez
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
7 days[rubygems/rubygems] Consistently use instance variables directlyDavid Rodríguez
I don't think the indirection improve things. https://.com/rubygems/rubygems/commit/b408b28844
7 days[rubygems/rubygems] Fix `gem install` sometimes compiling the wrong source filesDavid Rodríguez
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
7 days[rubygems/rubygems] Refactor some logic to create extconf files for testsDavid Rodríguez
https://.com/rubygems/rubygems/commit/9a859078ab
7 days[rubygems/rubygems] Use `Dir.chdir` with a blockDavid Rodríguez
I don't see any warnings. https://.com/rubygems/rubygems/commit/395df777a2
7 days[rubygems/rubygems] Cleanup dead code, RubyGems 3.3 is no longer supportedDavid Rodríguez
https://.com/rubygems/rubygems/commit/945a29a477
7 daysFree after insert in generic_ivar_set_shape_fieldsJohn Hawthorn
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
7 daysio_buffer: Reimplement dcompact for IO::BufferKasumi Hanazuki
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
7 daysRevert "Mark rb_io_buffer_type references declaratively"Kasumi Hanazuki
This reverts commit 6012145299cfa4ab561360c78710c7f2941a7e9d. Notes: Merged: https://.com/ruby/ruby/pull/13033
7 days[ruby/win32-registry] Minor readme improvements and typo fixesTim Smith
- 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
7 days* adjust indentNobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13634
7 daysAuto-style indentNobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13634
7 daysRun git without shellNobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13634
7 daysRun auto-style only when pull-requestNobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13634
7 daysUpdate vm->self location and mark it in vm.c for consistencySatoshi Tagomori
Notes: Merged: https://.com/ruby/ruby/pull/13630
7 daysZJIT: Add codegen for StringCopyDaniel Colson
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
7 daysAdd test for `IO::Buffer.for(frozen_string) {}` and omit rb_str_{,un}locktmp ↵Benoit Daloze
in that case Notes: Merged: https://.com/ruby/ruby/pull/13615
7 days[Bug #20998] Check if the string is frozen in rb_str_locktmp() & ↵Benoit Daloze
rb_str_unlocktmp() Notes: Merged: https://.com/ruby/ruby/pull/13615
7 daysZJIT: Add support for putspecialobject (#13565)Stan Lo
* 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]>
8 daysUse `success` option to check if the process failedNobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13624
8 daysSuppress stderr output in `TestRubyOptions#assert_segv`Nobuyoshi Nakada
It is checked against the given `list`, do not print the same output twice. Notes: Merged: https://.com/ruby/ruby/pull/13624
8 daysUse the message given to `TestRubyOptions#assert_segv`Nobuyoshi Nakada
Notes: Merged: https://.com/ruby/ruby/pull/13624
8 daysCI: Fix spec_optsNobuyoshi Nakada
8 daysLaunchable: Terminate Launchable CLI process quickly by sending singa… ↵Naoto Ono
(#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]>
8 days[rubygems/rubygems] Fix redefinition warnings when using modern RubyGems ↵David Rodríguez
with old Bundler https://.com/rubygems/rubygems/commit/ce7e8e92ca
8 days[ruby/date] [Bug #21436] check for fixnum lower bound in `m_ajd`Dmitry Dygalo
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
8 days[ruby/date] [Bug #21437] Date#hash for large yearsDmitry Dygalo
Addresses https://bugs.ruby-lang.org/issues/21437 Signed-off-by: Dmitry Dygalo <[email protected]> https://.com/ruby/date/commit/31f07bc576
8 daysRelax the criteria of flaky weak_references count testNobuyoshi Nakada