General

Profile

jhawthorn (John Hawthorn)

  • Login: jhawthorn
  • Registered on: 12/22/2016
  • Last sign in: 03/17/2026

Issues

open closed Total
Assigned issues 20 67 87
Reported issues 4 24 28

Projects

Project Roles Registered on
Ruby Committer 11/25/2021

Activity

03/20/2026

12:57 AM Ruby Revision 2b22593a (git): Simplify subclasses list, remove from Box
Currently we maintain the subclasses list for two separate purposes (we essentially have to different relationships we're putting into the same list):
1. On a T_MODULE, we track the T_ICLASSes created to include it into
other classes...
jhawthorn (John Hawthorn)

03/18/2026

12:12 AM Ruby Bug #21856 (Closed): Massive performance degradation of `rb_obj_free` for `T_CLASS` since Ruby 4.0
I merged my proposed design, which should restore Ruby 3.4's performance https://github.com/ruby/ruby/pull/16363 (forgot to tag this issue in the commit message, sorry)
I'm going to look into backporting this to Ruby 4.0. We usually d...
jhawthorn (John Hawthorn)

03/17/2026

09:42 PM Ruby Revision a2531ba2 (git): Simplify subclasses list, remove from Box
Currently we maintain the subclasses list for two separate purposes (we essentially have to different relationships we're putting into the same list):
1. On a T_MODULE, we track the T_ICLASSes created to include it into
other classes...
jhawthorn (John Hawthorn)

03/16/2026

10:56 PM Ruby Revision 6721ec26 (git): Include free_immediately: false in heap dumps
This adds "free_immediately: false" to the heap dump for any T_DATA
which doesn't specify RUBY_TYPED_FREE_IMMEDIATELY. These are the objects
which end up as T_ZOMBIE and will have their dfree callback deferred to
later when the program i...
jhawthorn (John Hawthorn)

03/12/2026

03:56 AM Ruby Revision 5c81ba21 (git): [ruby/rubygems] Make SafeYAML.load an alias of safe_load
Using Psych, load was actually more restrictive than safe_load. Using
Gem::YAMLSerializer they were identical. We might as well use the same
path for both methods.
https://github.com/ruby/rubygems/commit/d8d927f889
jhawthorn (John Hawthorn)
03:56 AM Ruby Revision 77507870 (git): [ruby/rubygems] Use safe_load from owner_command
This had been the only user of Gem::SafeYAML.load for a long time. We
might as well be consistent with all other uses and use safe_load.
https://github.com/ruby/rubygems/commit/1b698779f5
jhawthorn (John Hawthorn)
03:56 AM Ruby Revision d66f8d49 (git): [ruby/rubygems] Update load_yaml test helper to use safe_load
https://github.com/ruby/rubygems/commit/51544ebfd8 jhawthorn (John Hawthorn)
03:56 AM Ruby Revision 7db82681 (git): [ruby/rubygems] Unpend owner_command test
https://github.com/ruby/rubygems/commit/227df53bc5 jhawthorn (John Hawthorn)
03:56 AM Ruby Revision 0c6972b9 (git): [ruby/rubygems] Restore original SafeYAML.load under Psych
This was changed to unsafe_load with the swap to YAMLSerializer. But
this method did not previously do an unsafe load and we shouldn't
provide that.
https://github.com/ruby/rubygems/commit/37f71c1eac
jhawthorn (John Hawthorn)
12:41 AM Ruby Revision 764a245e (git): Fix M:N threads under OpenBSD
OpenBSD requires MAP_STACK for memory regions used as thread stacks.
However it seems to error with "Invalid argument" unless the permissions
include both PROT_READ | PROT_WRITE.
We should be able to satisft this by re-mmapping over our...
jhawthorn (John Hawthorn)

Also available in: Atom