Project

General

Profile

Revision:

Revisions

# Date Author Comment
92641117 04/28/2025 03:38 PM jeremyevans (Jeremy Evans)

Support Marshal.{dump,load} for core Set

This was missed when adding core Set, because it's handled
implicitly for T_OBJECT.

Keep marshal compatibility between core Set and stdlib Set,
so you can unmarshal core Set with stdlib Set and vice versa.

Co-authored-by: Nobuyoshi Nakada

80a1a1bb 04/28/2025 12:50 PM rianmcguire (Rian McGuire)

YJIT: Fix potential infinite loop when OOM (GH-13186)

Avoid generating an infinite loop in the case where:

  1. Block first is adjacent to block second, and the branch from first to
    second is a fallthrough, and
  2. Block second immediately exits to the interpreter, and...
37db51b4 04/28/2025 10:55 AM nobu (Nobuyoshi Nakada)

Suppress error message when gc is cleaned already [ci skip]

73f8d0a9 04/28/2025 06:09 AM jeremyevans (Jeremy Evans)

Fix nondeterministic failure in test_latest_gc_info_weak_references_count

Clear the ary variable before setting it to nil. Otherwise, if
the previous ary value was somewhere on the stack, all references
in it would be considered live, and the wmap size would be 10000.

3ec7bfff 04/27/2025 09:59 AM byroot (Jean Boussier)

Use a set_table for rb_vm_struct.unused_block_warning_table

Now that we have a hash-set implementation we can use that
instead of a hash-table with a static value.

6874b289 04/27/2025 06:47 AM 刘皓

Free jump buffers leaked by cont_restore_thread in WASI builds

45e814d1 04/27/2025 06:47 AM 刘皓

Fix jump buffer leak in WASI builds

687bd837 04/26/2025 11:56 AM Taketo Takashima

[ruby/ipaddr] Added IPAddr#+/-

https://github.com/ruby/ipaddr/commit/78b4f53bf5

c0417bd0 04/26/2025 10:10 AM byroot (Jean Boussier)

Use set_table to track const caches

Now that we have a set_table implementation, we can
use it to track const caches and save some memory.

We could even save some more memory if numtable didn't
store a copy of the hash and instead recomputed it every...

e4f85bfc 04/26/2025 01:31 AM jeremyevans (Jeremy Evans)

Implement Set as a core class

Set has been an autoloaded standard library since Ruby 3.2.
The standard library Set is less efficient than it could be, as it
uses Hash for storage, which stores unnecessary values for each key.

Implementation details:

  • Core Set uses a modified version of st_table, named set_table....
b1283b45 04/25/2025 08:46 PM tenderlovemaking (Aaron Patterson)

maybe fix bindgen

ec3b48d3 04/25/2025 08:46 PM tenderlovemaking (Aaron Patterson)

Deopt if iseq trace events are enabled

f15d85f0 04/25/2025 08:46 PM tenderlovemaking (Aaron Patterson)

Add parse.y implementation

3552d446 04/25/2025 08:46 PM tenderlovemaking (Aaron Patterson)

update allocation location tests

8ac8225c 04/25/2025 08:46 PM tenderlovemaking (Aaron Patterson)

Inline Class#new.

This commit inlines instructions for Class#new. To make this work, we
added a new YARV instructions, opt_new. opt_new checks whether or
not the new method is the default allocator method. If it is, it
allocates the object, and pushes the instance on the stack. If not, the...

e0545a02 04/25/2025 06:04 PM Max Bernstein

ZJIT: Bail out of HIR translation if we can't handle a send flag (#13182)

Bail out of HIR translation if we can't handle a send flag

871d07a2 04/25/2025 04:33 PM Max Bernstein

ZJIT: Emit CCall if we know the type statically, not just from profiles (#13173)

Emit CCall if we know the type statically, not just from profiles

c772d269 04/25/2025 10:40 AM nobu (Nobuyoshi Nakada)

Count metadata entries automatically from the names list

62a7f171 04/25/2025 09:17 AM byroot (Jean Boussier)

Update RB_GC_OBJECT_METADATA_ENTRY_COUNT

In cb1ea54bbf6cdf49c53f42720fec1a151069810c I added one more
metadata flag, but didn't notice RB_GC_OBJECT_METADATA_ENTRY_COUNT
had to be incremented.

This should fix ASAN builds.

Interestingly, bdb25959fb047af0358f33d7327b7752dca14aa4 already...

f501d114 04/25/2025 07:37 AM hsbt (Hiroshi SHIBATA)

Use OS label for actions/cache. vcpkg only uses same os cache

b3566e9e 04/25/2025 07:25 AM hsbt (Hiroshi SHIBATA)

[rubygems/rubygems] bin/rubocop -a --only Style/StringLiterals

https://github.com/rubygems/rubygems/commit/62e1bf2d37

24c838f9 04/25/2025 07:03 AM git[bot]

Update bundled gems list as of 2025-04-25

ffa40d34 04/25/2025 05:24 AM hsbt (Hiroshi SHIBATA)

Use actions/cache instead of vcpkg built-in cache feature

08f62809 04/25/2025 05:24 AM hsbt (Hiroshi SHIBATA)

Revert "Extract windows-11-arm job from windows.yml because it may ignored vcpkg binary cache for x64-windows"

This reverts commit 8e258af5b083a417a8f5e424a2c7d2c4800f8ca2.

8e258af5 04/25/2025 02:37 AM hsbt (Hiroshi SHIBATA)

Extract windows-11-arm job from windows.yml because it may ignored vcpkg binary cache for x64-windows

daef56cf 04/25/2025 02:17 AM git[bot]

Update default gems list at 6f336d1b154e608d5200bd8de48473 [ci skip]

6f336d1b 04/25/2025 02:12 AM deivid (David Rodríguez)

[rubygems/rubygems] Remove shellwords autoload

https://github.com/rubygems/rubygems/commit/2af1646776

db660382 04/25/2025 02:11 AM byroot (Jean Boussier)

[ruby/json] Release 2.11.2

https://github.com/ruby/json/commit/c985e8c6ea

05f949eb 04/25/2025 02:11 AM byroot (Jean Boussier)

[ruby/json] Bring back JSON::PRETTY_STATE_PROTOTYPE with a deprecation

Fix: https://github.com/ruby/json/issues/788

multi_json rely on it, even though it was never documented as
public API.

Bringing it back as a method so it can emit a deprecation warning....

1d65d5ce 04/25/2025 02:11 AM byroot (Jean Boussier)

[ruby/json] Release 2.11.1

https://github.com/ruby/json/commit/84443e881d

2b5e1db2 04/25/2025 02:11 AM byroot (Jean Boussier)

[ruby/json] Bring back the numerous deprecated alias

This time with explicit deprecation warnings.

https://github.com/ruby/json/commit/0dee9bdad9

169b33d1 04/25/2025 02:11 AM byroot (Jean Boussier)

[ruby/json] Release 2.11.0

https://github.com/ruby/json/commit/a6949f8656

9aed9e94 04/24/2025 11:41 PM Max Bernstein

ZJIT: Fold Send into SendWithoutBlockDirect if we know the class statically (#13172)

Fold Send into SendWithoutBlockDirect if we know the class statically

This applies for constants and also for values where we know the type
for other reasons.

71166f60 04/24/2025 06:33 PM Max Bernstein

Add tests

c2677f4d 04/24/2025 06:33 PM Max Bernstein

Make type_of use union-find

Otherwise we might have stale types floating around

4c1f29fd 04/24/2025 06:33 PM Max Bernstein

Make PatchPoint(CalleeModifiedLocals) implicit

We don't have a good model for modeling weakref-like instruction
dependency behavior and I don't think we should add it just for this.

b437a3ee 04/24/2025 06:33 PM Max Bernstein

Strength reduce sends on Fixnums in the optimizer instead of HIR builder

f36f7920 04/24/2025 06:33 PM Max Bernstein

Simplify fixnum guarding code

bbd5d334 04/24/2025 12:15 PM Masafumi Koba

Fix tiny typo in syntax/exceptions.rdoc

18f8c514 04/24/2025 12:03 PM make_now_just (Hiroya Fujinami)

Fix memoization for the /(...){0}/ case (#13169)

In this case, the previous implementation counted an extra number of
opcodes to cache and the matching was unstable on memoization.

This patch is to fix that problem by not counting an number of opcodes...

5113869f 04/24/2025 10:06 AM mame (Yusuke Endoh)

Fix a flaky test by making sure that a test thread stops

    1) Failure:
  TestThread#test_join_argument_conversion [D:/a/ruby/ruby/src/test/ruby/test_thread.rb:249]:
  Expected nil (oid=4) to be the same as #<TestThread::Thread:0x000001e9e13bbc18 D:/a/ruby/ruby/src/test/ruby/test_thread.rb:245 run> (oid=3856)....
84254760 04/24/2025 09:40 AM hsbt (Hiroshi SHIBATA)

Move VCPKG_BINARY_SOURCES to global environmental variable on workflow

5dc15535 04/24/2025 08:28 AM nobu (Nobuyoshi Nakada)

Do not allocate new objects at machine stack overflow

cb1ea54b 04/24/2025 08:14 AM byroot (Jean Boussier)

objspace_dump: Include shareable flag

Given that the currently planned ractor local GC implementation
performance will heavilly be influenced by the number of shareable
objects it would be valuable to be able to know how many of them
are in the heap.

7af5a632 04/24/2025 07:03 AM git[bot]

Update bundled gems list as of 2025-04-24

d34ba74c 04/24/2025 05:06 AM hsbt (Hiroshi SHIBATA)

Added --vcpkg-root for fixing mismatched vcpkg root with scoop version

0714867d 04/24/2025 05:06 AM hsbt (Hiroshi SHIBATA)

codeql-trap cache is growing over 300MB. We should enable to cleanup needless cache from actions/cache

f0dda053 04/24/2025 03:15 AM hsbt (Hiroshi SHIBATA)

Rewrite CGI.parse with URI.decode_www_form_component

Co-authored-by: Nobuyoshi Nakada

a23ce6d3 04/24/2025 03:15 AM hsbt (Hiroshi SHIBATA)

Removed unused cgi library

a88c5b50 04/24/2025 03:15 AM hsbt (Hiroshi SHIBATA)

Use cgi/util if that uses like CGI.escape methods

(1-50/107951) Per page: 50, 100, 200, 500

Also available in: Atom