peterzhu2118 (Peter Zhu)
- Login: peterzhu2118
- Email: peter@peterzhu.ca
- Registered on: 08/01/2020
- Last sign in: 09/07/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 2 | 31 | 33 |
| Reported issues | 2 | 79 | 81 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer | 03/24/2021 |
Activity
Today
-
11:05 AM Ruby Revision 11ce3778 (git): Fix memsize of imemo_ment
- sizeof(((rb_method_entry_t *)obj)->def) returned the size of the pointer
(8 bytes) and not the size of the rb_method_entry_t.
09/06/2026
-
11:50 AM Ruby Revision bb1d3236 (git): [DOC] Fix error raised for lchmod
- When lchmod isn't available, it raises NotImplementedError.
09/04/2026
09/02/2026
-
11:38 PM Ruby Revision 59595825 (git): Define IMEMO_MASK from FL_USER bits
-
11:38 PM Ruby Revision 1d8d84b3 (git): Increase IMEMO_MASK by one bit
- We are out of imemo types because IMEMO_MASK uses 4 bits and we have 16
imemo types. This makes it not possible to experiment with new imemo types,
so we can increase it by one bit to have 16 more imemo types. -
04:00 AM Ruby Revision 90e8610e (git): JIT: Reduce jit_entry_calls/jit_exception_calls to 32 bits
- We don't need 64 bits for jit_entry_calls/jit_exception_calls so dropping
them down to 32 bits will allow us to save 8 bytes per iseq.
09/01/2026
-
11:19 AM Ruby Revision 5209ac63 (git): Support embedded lvar_states
- If we have 32 local variables or less (which is most iseqs), then we can
embed lvar_states inside the pointer, which removes the need for an
external memory allocation. -
03:51 AM Ruby Revision d571f80b (git): Stop incrementing the JIT call counter when not compiled
- When we run out of JIT memory, we don't compile the iseq, so jit_entry
will be forever NULL. This means that the JIT call counters (jit_entry_calls
and jit_exception_calls) will continue to increase on every call. This
is bad for copy-on... -
03:51 AM Ruby Revision d039466b (git): Introduce rb_zjit_compiling_p/rb_yjit_compiling_p
08/29/2026
-
05:17 AM Ruby Revision fcbdc207 (git): Dynamically derive base_label in iseq
- base_label isn't used very often in iseq and we can dynamically derive it
from the label (of the current iseq or the local_iseq). We can remove this
field to save 8 bytes.