General

Profile

peterzhu2118 (Peter Zhu)

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

Issues

open closed Total
Assigned issues 1 30 31
Reported issues 4 72 76

Projects

Project Roles Registered on
Ruby Committer 03/24/2021

Like

Activity

Today

05:25 PM Ruby Revision b5f56720 (git): Set iclass_is_origin flag for FrozenCore
We don't free the method table for FrozenCore since it is converted to
an iclass and doesn't have the iclass_is_origi...
peterzhu2118 (Peter Zhu)

05/27/2025

06:22 AM Ruby Revision be545046 (git): Fix reference updating for id2ref table
The id2ref table could contain dead entries which should not be passed
into rb_gc_location. Also, we already update r...
peterzhu2118 (Peter Zhu)

05/26/2025

07:04 PM Ruby Revision 386f8748 (git): Don't copy FL_PROMOTED to new object in Ractor move
We should not copy the FL_PROMOTED flag when we move an object in Ractor#send(move: true)
because the newly created o...
peterzhu2118 (Peter Zhu)

05/23/2025

07:57 PM Ruby Bug #21368 (Assigned): Moving objects with finalizer between Ractors crashes
When an object is moved to a different Ractor, the finalizers are not copied to the new object, so it will have the `... peterzhu2118 (Peter Zhu)
06:35 PM Ruby Revision 9130023c (git): Remove dependency on bits.h in default.c when BUILDING_MODULAR_GC
We can assume that the compiler will have __builtin_clzll so we can implement
nlz_int64 using that.
peterzhu2118 (Peter Zhu)
06:35 PM Ruby Revision e00c4601 (git): Drop unnecessary compiler guards for memory_sanitizer
We unpoison slots allocated out of the GC, so we don't need to disable
the assertions that read from the memory.
peterzhu2118 (Peter Zhu)
03:06 PM Ruby Revision 746d7fef (git): Fix moving old objects between Ractors
The FL_PROMOTED flag was not copied when moving objects, causing assertions
to fail when an old object is moved:
...
peterzhu2118 (Peter Zhu)

05/21/2025

03:27 PM Ruby Revision ac23fa09 (git): Use rb_id_table_foreach_values for mark_cc_tbl
We don't need the key, so we can improve performance by only iterating
on the value.
This will also fix the MMTk bui...
peterzhu2118 (Peter Zhu)
03:27 PM Ruby Revision 511b6bcb (git): Reenable MMTk tests
peterzhu2118 (Peter Zhu)
02:35 PM Ruby Revision 3487117e (git): [ruby/mmtk] Fix object ID in rb_gc_impl_define_finalizer
The 0th element of the finalizer table array should be the object ID.
https://github.com/ruby/mmtk/commit/75e4a82652
peterzhu2118 (Peter Zhu)

Also available in: Atom