peterzhu2118 (Peter Zhu)
- Login: peterzhu2118
- Email: peter@peterzhu.ca
- Registered on: 08/01/2020
- Last sign in: 05/23/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 1 | 31 | 32 |
| Reported issues | 2 | 79 | 81 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer | 03/24/2021 |
Activity
06/22/2026
-
04:57 PM Ruby Revision 3b119e4f (git): Don't use obj_id in Box classext_cow_classes
- Using obj_id in classext_cow_classes is slow and also is a problem when
freeing classes because the lookup requires the EC, which is not available
if it is running on a GC thread. This will cause it to crash on MMTk.
We don't need to us... -
07:33 AM Ruby Revision 0ef0856f (git): [ruby/mmtk] Implement allocation fast path for Immix
- This commit implements a fast path that inlines mmtk_post_alloc for Immix.
The benchmark results show a decent speed up in allocation performance.
GC.disable
i = 0
while i < 10_000_000
Object.new
i += 1
end
...
06/19/2026
-
07:32 AM Ruby Revision 57d5247f (git): [ruby/mmtk] Call rb_memerror when OOM
- https://github.com/ruby/mmtk/commit/6258cfa315
06/18/2026
06/17/2026
-
01:24 PM Ruby Revision 6e3fcfa3 (git): [DOC] Fix missing quote in String#aset
-
10:00 AM Ruby Revision 45fd5d58 (git): Fix malloc counters during GC
- https://github.com/ruby/ruby/pull/16919 changed malloc counters to be
reset in `gc_sweep_finish`. However, this introduced two problems:
1. If a GC is triggered due to the `malloc_limit` being hit, then it would
run a GC with lazy sw... -
06:07 AM Ruby Revision 49fba455 (git): Remove unused return value of gc_malloc_counters_snapshot
06/16/2026
-
01:09 AM Ruby Revision 09847a62 (git): [DOC] Fix String#split docs
- When `limit` is negative, the trailing empty strings are included.
06/15/2026
-
01:25 AM Ruby Revision 845a0d6f (git): [DOC] Fix documentation for String#gsub!
- String#gsub! returns self if any substitutions were performed, not characters removed.