peterzhu2118 (Peter Zhu)
- Login: peterzhu2118
- Email: peter@peterzhu.ca
- Registered on: 08/01/2020
- Last sign in: 05/19/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 1 | 31 | 32 |
| Reported issues | 2 | 79 | 81 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer | 03/24/2021 |
Activity
Today
-
01:10 AM Ruby Revision 1f3a2c5d (git): Fix GC compaction for compare-by-identity sets
- [Backport #22064]
Compare-by-identity sets use the address for hashing, so we must pin it
so the object does not move in GC compaction. Objects in a compare-by-identity
set is not currently pinned, causing the set to be broken if the ob... -
01:08 AM Ruby Revision 647575ea (git): [Backport #22072] Fix rb_cvar_set for multi-Ractor
- rb_cvar_set breaks the RCLASS_CVC_TBL because it creates a new cvc_tbl but
forgets to copy the contents over. This causes the following script to
crash:
r = Ractor.new {}
module Foo
def self.foo = @@foo
end
Foo.c... -
12:25 AM Ruby Revision 7012f365 (git): [DOC] Add comments for return values of Pathname examples
05/20/2026
-
11:48 PM Ruby Revision eeed9ea3 (git): Move rb_gc_update_set_refs into gc.c
- The code is in gc/gc.h but it is not used outside of gc.c, so we can move
it there. -
01:10 AM Ruby Revision 8638931d (git): [ruby/mmtk] Fix compiler warnings for noreturn
- gc/mmtk/mmtk.c:480:1: warning: function 'rb_mmtk_gc_thread_bug' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
480 | {
| ^
gc/mmtk/mmtk.c:510:1: warning: function 'rb_mmtk_mutator_thread_panic_handle...
05/18/2026
05/17/2026
-
08:20 PM Ruby Revision cfff91a3 (git): [ruby/mmtk] Move rb_gc_obj_suffix to gc.h
- https://github.com/ruby/mmtk/commit/40053354bd
-
01:10 PM Ruby Bug #22072 (Closed): [BUG] should have cvar cache entry
- Applied in changeset commit:git|6bc1aa31ccf39837bb0678da093b82f86a6534eb.
----------
[Bug #22072] Fix rb_cvar_set for multi-Ractor
rb_cvar_set breaks the RCLASS_CVC_TBL because it creates a new cvc_tbl but
forgets to copy the contents ... -
02:08 AM Ruby Bug #22072: [BUG] should have cvar cache entry
- Thank you for this bug report. Using the seed in the crashing runs you have linked, I was able to reliably reproduce the issue. I was able to [create a minimal reproduction and have a fix in this PR](https://github.com/ruby/ruby/pull/170...
-
01:09 PM Ruby Revision 6bc1aa31 (git): [Bug #22072] Fix rb_cvar_set for multi-Ractor
- rb_cvar_set breaks the RCLASS_CVC_TBL because it creates a new cvc_tbl but
forgets to copy the contents over. This causes the following script to
crash:
r = Ractor.new {}
module Foo
def self.foo = @@foo
end
Foo.c...