peterzhu2118 (Peter Zhu)
- Login: peterzhu2118
- Email: peter@peterzhu.ca
- Registered on: 08/01/2020
- Last sign in: 11/16/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/15/2025
-
09:02 PM Ruby Revision bacd3562 (git): Remove dead IBF_OBJECT_INTERNAL
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... -
03:22 AM Ruby Revision 256b4722 (git): [ruby/mmtk] Lock VM in fork hooks
- If we are using multiple Ractors, other Ractors may allocate objects after
rb_gc_impl_before_fork is ran because it does not lock the VM. This can cause
the GC to be in a bad state since rb_gc_impl_before_fork may have terminated
GC thre...
11/12/2025
-
11:44 PM Ruby Revision 75f5a0ba (git): Increase default stack sizes for LSAN
-
11:48 AM Ruby Revision bcfcfedc (git): Fix memory leak in invalidate_ccs_in_iclass_cc_tbl
- invalidate_ccs_in_iclass_cc_tbl deletes the ccs from the table but never
frees it, causing memory to leak.
11/11/2025
-
06:17 PM Ruby Revision ade2b51a (git): Don't GC unprotect hash in Coverage.peek_result
- The call to unprotect the coverages hash was introduced in commit 99093e1
where we used the raw ST table and st_foreach. We now use rb_hash_foreach
which no longer requires GC unprotecting the coverages hash. -
02:58 PM Ruby Revision e451b3de (git): Remove useless cast in rb_managed_id_table_type
-
12:34 AM Ruby Revision 87493e32 (git): Fix memory leak in ObjectSpace tracing
- allocation_info_tracer_compact_update_object_table_i deletes entries where
the key is no longer in the GC heap but did not free the allocation_info
causing the memory to be leaked.
11/10/2025
-
11:07 PM Ruby Revision c7f0a9c4 (git): Fix memory leak in subclasses when freeing classext
- We don't decrement the super and module subclasses count for iclasses that
are having their classext replaced. This causes the reference count to be
incorrect and leak memory.
The following script demonstrates the memory leak:
modu...
11/09/2025
-
07:14 PM Ruby Revision a731080f (git): Make rb_gc_obj_optimal_size always return allocatable size
- It may return sizes that aren't allocatable for arrays and strings.