General

Profile

peterzhu2118 (Peter Zhu)

  • Login: peterzhu2118
  • Email: peter@peterzhu.ca
  • Registered on: 08/01/2020
  • Last sign in: 10/01/2026

Issues

open closed Total
Assigned issues 1 32 33
Reported issues 1 80 81

Projects

Project Roles Registered on
Ruby Committer 03/24/2021

Activity

10/03/2026

08:20 AM Ruby Revision 9b8b0ae4 (git): [ruby/mmtk] Implement mmtk_is_pinned
https://github.com/ruby/mmtk/commit/dedb6123d6 peterzhu2118 (Peter Zhu)
01:14 AM Ruby Revision a16ed993 (git): Remove dead ROBJECT_FIELDS_CAPACITY macro
peterzhu2118 (Peter Zhu)
01:14 AM Ruby Revision c6a042f7 (git): Remove dead ROBJECT_EMBED_LEN_MAX macro
peterzhu2118 (Peter Zhu)

10/02/2026

07:11 AM Ruby Revision 2192dca2 (git): [ruby/mmtk] Fix rustsrcs in extconf.rb
https://github.com/ruby/mmtk/commit/7e9aadd29e peterzhu2118 (Peter Zhu)

10/01/2026

11:07 AM Ruby Revision 99d67b64 (git): Add assert_in_ractor
This commit adds assert_in_ractor which runs code in a Ractor and allows
the use of assertions in the Ractor.
peterzhu2118 (Peter Zhu)
11:07 AM Ruby Revision 12779089 (git): Use assert_in_ractor in test_gc.rb
peterzhu2118 (Peter Zhu)
01:02 AM Ruby Revision 96d57e24 (git): Make rb_str_no_gvl_safe_acquire public C API
This commit renames rb_str_tmp_frozen_no_embed_acquire to rb_str_no_gvl_safe_acquire
and makes it part of the public C API.
There is currently no way for C extensions that use no GVL operations to
safely read from a string because it ha...
peterzhu2118 (Peter Zhu)

09/30/2026

11:59 PM Ruby Revision 4898b7d4 (git): [ruby/test-unit-ruby-core] Make core_assertions.rb Ractor-ready
These changes make core_assertions.rb ready for changes in
https://github.com/ruby/ruby/pull/19141.
https://github.com/ruby/test-unit-ruby-core/commit/1c3f62cd4c
peterzhu2118 (Peter Zhu)
09:45 AM Ruby Revision 63bb7a8c (git): Improve accuracy of ractor_memsize
ractor_memsize is missing accounting of many fields, this commit tries to
improve the accuracy of ractor_memsize.
peterzhu2118 (Peter Zhu)

09/29/2026

11:56 PM Ruby Bug #22382 (Closed): IO#write of a shareable String from multiple Ractors causes use-after-free
Applied in changeset commit:git|0093a0268f6de4467f58e7ee920fb1913ef6bbb7.
----------
Fix race condition in rb_str_tmp_frozen_no_embed_acquire
[Bug #22382]
rb_str_tmp_frozen_no_embed_acquire is not Ractor safe for the non-embedded
case...
peterzhu2118 (Peter Zhu)

Also available in: Atom