jhawthorn (John Hawthorn)
- Login: jhawthorn
- Registered on: 12/22/2016
- Last sign in: 04/08/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 19 | 68 | 87 |
| Reported issues | 6 | 26 | 32 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer | 11/25/2021 |
Activity
04/10/2026
-
07:56 AM Ruby Feature #21987: Assume `chdir(2)` isn't called and cache `rb_dir_getwd_ospath()`
- byroot (Jean Boussier) wrote:
> For some implementations, allocating a `T_DATA` to avoid leaks in case of failure.
Is this still the case? I removed some of this in https://github.com/ruby/ruby/commit/126b657bd103a1abf4b572ade557ffdc... -
12:39 AM Ruby Revision 4c2ae6e2 (git): Always ensure room in rb_obj_embedded_size
- Although the issue only occurred on debug builds, we should always be
requesting a size large enough to fit the object when it expands to the
heap, rather than just hoping the GC provides enough room.
04/09/2026
-
08:55 PM Ruby Revision 0b5862f4 (git): Don't use fixed-size hashes for cdhash
- This caused out of bounds writes because of converting to a st_table.
Co-authored-by: Luke Gruber <luke.gru@gmail.com>
Co-authored-by: Matt Valentine-House <matt@eightbitraptor.com> -
08:55 PM Ruby Revision 8aa2322b (git): Add slot size assertion to ar_force_convert_table
- Co-authored-by: Luke Gruber <luke.gru@gmail.com>
Co-authored-by: Matt Valentine-House <matt@eightbitraptor.com>
04/06/2026
-
10:36 PM Ruby Revision 20211460 (git): Use RB_BUILTIN_TYPE in RCLASS_SINGLETON_P
- This should avoid us emitting the check for a special constant.
-
10:36 PM Ruby Revision a2a69b42 (git): Add assertion to rb_class_alloc
- We should only ever call rb_class_alloc with a T_CLASS. Adding this
assert/assumption allows us to elide later checks for T_CLASS> -
10:33 PM Ruby Revision 3e851ea7 (git): Avoid box st_lookup in rb_class_real
04/03/2026
-
12:36 AM Ruby Feature #21981 (Open): Remove CREF rewriting for methods on cloned classes/modules
- When a class or module is cloned, Ruby currently rewrites the CREF chain of each copied method so that it points at the new class instead of the original. I don't think this should happen, and methods on a cloned class should retain thei...
04/02/2026
-
07:26 PM Ruby Revision 7aa3cbb0 (git): Convert K&R function definitions in configure.ac
-
04:13 AM Ruby Bug #20948 (Closed): Constant references incorrectly cached in `module (expr)::Foo`
- Applied in changeset commit:git|91ae69860591f0dfc85571cfbd023dd199e17e73.
----------
Use compile-time flag to indicate dynamic CREFs
The inline constant cache previously used `RCLASS_SINGLETON_P` to detect
"unstable" CREFs that need ic...