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

Today

02:25 PM Ruby Revision ead3739c (git): Inline ASAN poison functions when ASAN is not enabled
The ASAN poison functions was always defined in gc.c, even if ASAN was not
enabled. This made function calls to happe...
peterzhu2118 (Peter Zhu)

06/27/2025

01:23 PM Ruby Revision d9b2d899 (git): Extract Ractor safe table used for frozen strings
This commit extracts the Ractor safe table used for frozen strings into
ractor_safe_table.c, which will allow it to b...
peterzhu2118 (Peter Zhu)

06/26/2025

08:38 PM Ruby Revision 26508bbc (git): Fix flaky TestGc#test_heaps_grow_independently
The test sometimes fails with "Expected 2062788 to be < 2000000" because
heap 0 has not been cleared yet by GC. This ...
peterzhu2118 (Peter Zhu)
01:37 PM Ruby Revision 80f53eba (git): Support message in GC_ASSERT
RUBY_ASSERT_MESG_WHEN supports a format string at the end for additional
information. This commit adds support for th...
peterzhu2118 (Peter Zhu)
01:37 PM Ruby Revision a4948c30 (git): Add debug message to assertion for checking GC mode
We assert that the GC is not in a cycle in gc_start, but it does not show
what phase we're in if the assertion fails....
peterzhu2118 (Peter Zhu)

06/25/2025

05:04 PM Ruby Revision aed7a95f (git): Move RUBY_ATOMIC_VALUE_LOAD to ruby_atomic.h
Deduplicates RUBY_ATOMIC_VALUE_LOAD by moving it to ruby_atomic.h. peterzhu2118 (Peter Zhu)

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)

Also available in: Atom