General

Profile

peterzhu2118 (Peter Zhu)

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

Issues

open closed Total
Assigned issues 1 30 31
Reported issues 3 75 78

Projects

Project Roles Registered on
Ruby Committer 03/24/2021

Like

Activity

06/12/2025

07:23 PM Ruby Revision 6e36841d (git): Free rb_native_thread memory at fork
We never freed any resources of rb_native_thread at fork because it would
cause it to hang. This is because it called...
peterzhu2118 (Peter Zhu)
02:02 PM Ruby Revision d55c463d (git): Fix memory leak of Ractor basket when sending to closed Ractor
The following script leaks memory:
r = Ractor.new { }
r.value
10.times do
100_000.times do
...
peterzhu2118 (Peter Zhu)

06/10/2025

02:30 AM Ruby Revision 6184793e (git): [DOC] Split building docs for modular GC
peterzhu2118 (Peter Zhu)

06/09/2025

05:57 PM Ruby Revision 837699e1 (git): Take file and line in GC VM locks
This commit adds file and line to GC VM locking functions for debugging
purposes and adds upper case macros to pass _...
peterzhu2118 (Peter Zhu)

06/06/2025

02:46 PM Ruby Revision 347e581a (git): Introduce MODULAR_GC_FN
MODULAR_GC_FN allows functions in gc.c to be defined as static when not
building with modular GC.
peterzhu2118 (Peter Zhu)

06/05/2025

02:51 PM Ruby Revision da2453c5 (git): Add debug message to test_heaps_grow_independently
To debug flaky failures on i686 that look like:
1) Failure:
TestGc#test_heaps_grow_independently [test/ruby/test...
peterzhu2118 (Peter Zhu)

06/04/2025

06:07 PM Ruby Revision 99cc100c (git): Remove dead rb_malloc_info_show_results
peterzhu2118 (Peter Zhu)

06/03/2025

07:48 PM Ruby Revision 7a40f1f0 (git): Fix memory leak of Ractor recv_queue
Memory leak reported:
3 miniruby 0x104702c1c ractor_init + 164 ractor.c:460
...
peterzhu2118 (Peter Zhu)
07:48 PM Ruby Revision 89d49433 (git): Fix memory leak of Ractor ports
Memory leak reported:
3 miniruby 0x1044b6c1c ractor_init + 164 ractor.c:460
...
peterzhu2118 (Peter Zhu)
04:04 PM Ruby Revision ea8b53a5 (git): Allow pass special constants to the write barrier
Some GC implementations want to always know when an object is written to,
even if the written value is a special cons...
peterzhu2118 (Peter Zhu)

Also available in: Atom