Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
7ced2c88 05/05/2026 09:46 PM peterzhu2118 (Peter Zhu)

[DOC] Add missing opts argument to IO.binwrite

d3c770dd 05/05/2026 09:43 PM burdettelamar (Burdette Lamar)

[DOC] for IO.write (#16857)

f56ee25c 05/05/2026 09:33 PM burdettelamar (Burdette Lamar)

[DOC] Doc for Pathname#write

9cee5c73 05/05/2026 09:33 PM burdettelamar (Burdette Lamar)

[DOC] Add Japanese and data to IO.read

2f5b7464 05/05/2026 07:08 PM byroot (Jean Boussier)

Refactor setivar caches to include the source and destination shapes

This is how caches used to work prior to 913979bede2a1b79109fa2072352882560d55fe0,
however since inline cache need to be set atomically, they are
limited to 64bits, which wasn't enough to store an attr_index_t...

6074e537 05/05/2026 02:59 PM byroot (Jean Boussier)

Reduce INVALID_SHAPE_ID to only its offset

Given we only store the shape offset in ivar caches, and the
offset is only 19bits, we should be able to store two shape offsets
and an attribute index in a single uint64_t.

Which is perfect for setivar caches....

bd49c02e 05/05/2026 08:52 AM byroot (Jean Boussier)

shape.c: rename shape_id and shape_offset helpers

These are natural variable names, so by using macro like
case we avoid name conflicts.

1eda917b 05/05/2026 08:52 AM byroot (Jean Boussier)

shape.c: finalize the "offset" rename

To better distinguish fully formed shape ids from "naked" offsets.

fcdf2aa7 05/05/2026 07:56 AM byroot (Jean Boussier)

vm_callinfo.h: stop uselessly incrementing attr_index

There might have been a reason for this, but it's likely long gone.

a984c880 05/05/2026 05:19 AM byroot (Jean Boussier)

gc: Simplify updating the shape after move

Back when this code was added, moving a T_OBJECT to a different
size pool required to rebuilt its shape tree, which could allocate,
potentially triggering GC during GC.

Ref: https://github.com/ruby/ruby/pull/6926...

View all revisions | View revisions

Also available in: Atom