Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
15dcd9c0 03/25/2026 08:36 PM k0kubun (Takashi Kokubun)

Rescue exceptions from Tempfile#closed? in LeakChecker (#16549)

ObjectSpace.each_object(Tempfile) can find partially-constructed
Tempfile objects where @delegate_dc_obj is not yet set (between
ivar initialization and the super() call in Tempfile#initialize)....

e756863d 03/25/2026 08:34 PM k0kubun (Takashi Kokubun)

ZJIT: Document that SideExitRecompile::argc does not include receiver

532a426c 03/25/2026 08:34 PM k0kubun (Takashi Kokubun)

ZJIT: Add TODO for handle_event state machine on invalidate_iseq_version

75a396c6 03/25/2026 08:34 PM k0kubun (Takashi Kokubun)

ZJIT: Count profiles remaining down instead of up

Count down from --zjit-num-profiles to 0 instead of counting up. This
avoids reading options state in done_profiling_at and profile_send_at
at check time. Also simplify the stack offset arithmetic in
profile_send_at: -1 - (n - i - 1) simplifies to (i - n).

7dff7b35 03/25/2026 08:34 PM k0kubun (Takashi Kokubun)

ZJIT: Unify invalidation logic into invalidate_iseq_version()

Extract the duplicated invalidation + JIT-to-JIT call recompilation
logic from both PatchPoint handling and no-profile-send recompilation
into a single invalidate_iseq_version() function. This is a starting...

cfaef1e5 03/25/2026 08:34 PM k0kubun (Takashi Kokubun)

ZJIT: Recompile ISEQs with no-profile sends via exit profiling

When a send instruction has no profile data (e.g., the code path was
not reached during interpreter profiling), the first JIT compilation
converts it to a SideExit that profiles operands on exit. After...

111215de 03/25/2026 07:51 PM jhawthorn (John Hawthorn)

Copy allocator to subclasses at boot and on change

Copy the allocator from superclass to subclass at class creation time,
so rb_get_alloc_func no longer needs to walk the ancestor chain.

This expands on 68ffc8db088a7b29613a3746be5cc996be9f66fe, which did this...

a0583318 03/25/2026 07:51 PM jhawthorn (John Hawthorn)

Don't allow RCLASS_ALLOCATOR on a singleton

109a20a7 03/25/2026 07:51 PM jhawthorn (John Hawthorn)

Don't pass singleton to TypedData_Make_Struct

We should never initialize a class with an existing singleton class
(singleton classes definitionally should not be shared).

The only cases this happened in Ruby itself is methods, which exposes a
bug that dup did not behave correctly.

68cb8d82 03/25/2026 06:53 PM Edouard CHIN

[ruby/rubygems] Check happy path first when comparing gem version:

  • During resolution, Gem::Version are compared against each other.
    Since comparing versions is a very hot path we can micro optimize
    it to check the happy path first.

    The speed gain on the overall resolution isn't significant but the...

View all revisions | View revisions

Also available in: Atom