General

Profile

peterzhu2118 (Peter Zhu)

  • Login: peterzhu2118
  • Email: peter@peterzhu.ca
  • Registered on: 08/01/2020
  • Last sign in: 11/19/2025

Issues

open closed Total
Assigned issues 1 30 31
Reported issues 3 76 79

Projects

Project Roles Registered on
Ruby Committer 03/24/2021

Activity

11/19/2025

11:25 PM Ruby Feature #20408 (Closed): Add heap_live_slots to GC.stat_heap
Applied in changeset commit:git|fa02d7a01f5e7516de8eb3c7f92ec75c50c06e3f.
----------
Implement heap_live_slots in GC.stat_heap
[Feature #20408]
peterzhu2118 (Peter Zhu)
11:25 PM Ruby Revision fa02d7a0 (git): Implement heap_live_slots in GC.stat_heap
[Feature #20408] peterzhu2118 (Peter Zhu)
11:25 PM Ruby Revision 83bf0542 (git): Implement heap_free_slots in GC.stat_heap
[Feature #20408] peterzhu2118 (Peter Zhu)
11:25 PM Ruby Revision f5f69d41 (git): Implement heap_final_slots in GC.stat_heap
[Feature #20408] peterzhu2118 (Peter Zhu)
02:08 AM Ruby Revision 69b1c567 (git): [ruby/mmtk] Add VM barrier in rb_gc_impl_before_fork
We need the VM barrier in rb_gc_impl_before_fork to stop the other Ractors
because otherwise they could be allocating objects in the fast path which
could be calling mmtk_add_obj_free_candidate. Since mmtk_add_obj_free_candidate
acquires...
peterzhu2118 (Peter Zhu)
02:08 AM Ruby Revision f040b94c (git): [ruby/mmtk] Ensure not blocking for GC in rb_gc_impl_before_fork
In rb_gc_impl_before_fork, it locks the VM and barriers all the Ractors
before calling mmtk_before_fork. However, since rb_mmtk_block_for_gc is
a barrier point, one or more Ractors could be paused there. However,
mmtk_before_fork is not ...
peterzhu2118 (Peter Zhu)

11/18/2025

02:32 AM Ruby Revision fa8799ca (git): Fix EnvUtil.current_parser for modular GC
The regexp used in EnvUtil.current_parser did not allow square brackets
for feature names. Modular GC uses square brackets for the GC name (such
as +GC[mmtk]).
peterzhu2118 (Peter Zhu)
02:32 AM Ruby Revision 0ce6eed7 (git): Unskip test_alternative_pattern_nested for MMTk
peterzhu2118 (Peter Zhu)

11/15/2025

09:02 PM Ruby Revision bacd3562 (git): Remove dead IBF_OBJECT_INTERNAL
peterzhu2118 (Peter Zhu)

11/14/2025

10:26 PM Ruby Revision eb6e36a8 (git): Skip tests in TestThreadLockNativeThread when using LSAN
These tests use NM threads but NT is not freed for MN thread, causing it
to be reported as memory leaks in LSAN. For example:
#1 0x62ee7bc67e99 in calloc1 gc/default/default.c:1495:12
#2 0x62ee7bc7ba00 in rb_gc_impl_calloc gc/de...
peterzhu2118 (Peter Zhu)

Also available in: Atom