peterzhu2118 (Peter Zhu)
- Login: peterzhu2118
- Email: peter@peterzhu.ca
- Registered on: 08/01/2020
- Last sign in: 11/01/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
Today
-
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.
-
05:29 PM Ruby Revision f1b1899a (git): [ruby/mmtk] Lock the VM when freeing objects in rb_gc_impl_shutdown_call_finalizer
- https://github.com/ruby/mmtk/commit/1828f6596f
-
01:58 AM Ruby Revision 827f11fc (git): Move rb_gc_verify_shareable to gc.c
- rb_gc_verify_shareable is not GC implementation specific so it should live
in gc.c.
11/06/2025
-
03:31 AM Ruby Revision 6014ed99 (git): Remove dead rb_hash_dump
11/02/2025
-
02:17 PM Ruby Revision dba4c9fb (git): Fix string allocation when slot size < 40 bytes
- We need to allocate at least sizeof(struct RString) when the string is
embedded on garbage collectors that support slot sizes less than 40 bytes. -
02:17 PM Ruby Revision 2380f69f (git): Fix array allocation when slot size < 40 bytes
- We need to allocate at least sizeof(struct RArray) when the array is
embedded on garbage collectors that support slot sizes less than 40 bytes. -
02:17 PM Ruby Revision 37c71536 (git): Make rb_str_embed_size aware of termlen
11/01/2025
-
02:47 PM Ruby Revision 390d77ba (git): Fix memory leak in String#encode when StringValue raises
- The following script leaks memory:
10.times do
100_000.times do
"\ufffd".encode(Encoding::US_ASCII, fallback: proc { Object.new })
rescue
end
puts `ps -o rss= -p #{$$}`
end
Before:
450244
...
10/31/2025
-
12:13 AM Ruby Revision a4c33615 (git): [ruby/mmtk] Bump mmtk-core
- https://github.com/ruby/mmtk/commit/9876d8f0a1
10/30/2025
-
12:18 AM Ruby Revision b8c82a99 (git): Fix memory leak in String#encode when fallback too big
- The following script leaks memory:
10.times do
100_000.times do
"\ufffd".encode(Encoding::US_ASCII, fallback: proc { "\uffee" })
rescue
end
puts `ps -o rss= -p #{$$}`
end
Before:
451196
...