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:27 AM Ruby Revision 834a828f (git): [DOC] Improve docs for ObjectSpace.count_objects_size
peterzhu2118 (Peter Zhu)

05/07/2026

09:13 PM Ruby Revision d5e2779b (git): Use rb_gc_get_ec in rb_gc_event_hook
This would allow rb_gc_event_hook to run in a GC thread that is a
non-Ruby thread.
peterzhu2118 (Peter Zhu)
01:27 AM Ruby Revision 4f28236d (git): [DOC] Fix hash style in ObjectSpace.count_objects_size
peterzhu2118 (Peter Zhu)

05/06/2026

11:38 PM Ruby Revision aa9d3a28 (git): [DOC] Improve docs for ObjectSpace.count_objects
peterzhu2118 (Peter Zhu)

05/05/2026

09:46 PM Ruby Revision 7ced2c88 (git): [DOC] Add missing opts argument to IO.binwrite
peterzhu2118 (Peter Zhu)
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)

Also available in: Atom