General

Profile

peterzhu2118 (Peter Zhu)

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

Issues

open closed Total
Assigned issues 1 31 32
Reported issues 2 78 80

Projects

Project Roles Registered on
Ruby Committer 03/24/2021

Activity

Today

12:10 AM Ruby Revision 06fc5c24 (git): Use EC saved in GC for root marking
Since EC is thread-local, we previously used rb_gc_worker_thread_set_vm_context
in MMTk worker threads to temporarily set the EC. However, this was inelegant
and also occasionally caused crashes when marking threads/fibers for the
curren...
peterzhu2118 (Peter Zhu)

05/03/2026

11:57 PM Ruby Revision d8d2ed5d (git): [DOC] Fix hash style of docs in gc.c
peterzhu2118 (Peter Zhu)
02:04 PM Ruby Revision 39257a3e (git): Add field in RObject for too complex hash case
Avoids the need to cast fields into a st_table. peterzhu2118 (Peter Zhu)

04/01/2026

11:28 PM Ruby Revision c3413996 (git): Fix memory leak in pm_parse_process
pm_parse_process initializes the index_lookup_table but nothing seems to
use it after it has been allocated. However, pm_compile_scope_node will
overwrite the index_lookup_table and cause it to leak memory. This can
be seen during bootup...
peterzhu2118 (Peter Zhu)
12:10 AM Ruby Revision d926f407 (git): [ruby/mmtk] Add moving_gc_count to GC.stat
Outputs the number of GC cycles that are moving.
https://github.com/ruby/mmtk/commit/fef8f04186
peterzhu2118 (Peter Zhu)

03/30/2026

11:39 PM Ruby Revision 34c94b31 (git): [DOC] Fix formatting in IO
Colon should be outside of the code. peterzhu2118 (Peter Zhu)

03/22/2026

07:22 PM Ruby Revision f8459601 (git): [DOC] Add strscan to doc/.document
We need the documentation for strscan to be generated in RDoc. peterzhu2118 (Peter Zhu)

03/21/2026

08:47 AM Ruby Revision 8b0ec6ac (git): [ruby/strscan] [DOC] Add doc/.document
(https://github.com/ruby/strscan/pull/199)
There are a lot of files in the doc directory that we do not want RDoc
pages for. Add a doc/.document file to suppress RDoc page generation to
only helper_methods.md.
https://github.com/ruby/s...
peterzhu2118 (Peter Zhu)

03/16/2026

01:16 PM Ruby Revision a188e960 (git): [DOC] Update docs for RB_OBJ_WB_UNPROTECT
peterzhu2118 (Peter Zhu)

03/11/2026

11:49 PM Ruby Revision aa604d5a (git): [DOC] Fix indentation in docs for File.path
peterzhu2118 (Peter Zhu)

Also available in: Atom