General

Profile

jhawthorn (John Hawthorn)

  • Login: jhawthorn
  • Registered on: 12/22/2016
  • Last sign in: 06/11/2026

Issues

open closed Total
Assigned issues 22 70 92
Reported issues 6 30 36

Projects

Project Roles Registered on
Ruby Committer 11/25/2021

Activity

06/12/2026

07:06 PM Ruby Revision 54e673f7 (git): wbcheck: Implement rb_gc_impl_get_vm_context
jhawthorn (John Hawthorn)
06:07 PM Ruby Bug #22109: Unexpected or misleading error when subclass of a ractor calls a new method on itself
I don't think this has anything to do with the method or the subclass. The message could probably be improved, but the warning exists because instance variables on classes like `Ractor` (or other objects which are shareable without being... jhawthorn (John Hawthorn)
03:40 PM Ruby Revision 4dfaa2c0 (git): Add ASAN ci build
jhawthorn (John Hawthorn)
01:59 AM Ruby Bug #22098: RUBY_INTERNAL_THREAD_EVENT_RESUMED runs without GVL held
Eregon (Benoit Daloze) wrote in #note-13:
> "you can not use any Ruby APIs" is too strict, at minimum we need:
> ...
These are all documented to be async-signal-safe, and so can be called everywhere (including the existing hooks with t...
jhawthorn (John Hawthorn)

06/11/2026

09:30 PM Ruby Revision 45efffd7 (git): Avoid timeout on object tracing test
jhawthorn (John Hawthorn)
09:07 PM Ruby Revision a1f119fb (git): Fix ASAN error on gc_sweep_register_free_slot
jhawthorn (John Hawthorn)
08:20 AM Ruby Bug #22098: RUBY_INTERNAL_THREAD_EVENT_RESUMED runs without GVL held
Eregon (Benoit Daloze) wrote in #note-10:
> Since the hook is called after the GVL is acquired, one would expect to be able to run regular Ruby code there.
I feel very strongly that we must not allow arbitrary Ruby code in these hooks. ...
jhawthorn (John Hawthorn)

06/10/2026

07:59 PM Ruby Revision 6fd2ae62 (git): Add and use rb_ivar_foreach_buffered
Previously, rb_ivar_foreach would walk up the shape tree, but yield
instance variables to the callback as it went. If the object shape was
modified during this callback, particularly with removing an instance
variable, it could result in...
jhawthorn (John Hawthorn)
05:00 PM Ruby Bug #22098: RUBY_INTERNAL_THREAD_EVENT_RESUMED runs without GVL held
Here's a reproduction showing that `ruby_thread_has_gvl_p()` is false https://github.com/ruby/ruby/pull/17263. I think it has been since the introduction of the callback.
I think it might be fine for `ruby_thread_has_gvl_p()` to retur...
jhawthorn (John Hawthorn)

06/09/2026

11:37 PM Ruby Revision aac1d870 (git): Use stack callinfo/calldata for super dispatch
Previously vm_search_super_method would allocate a new callinfo and
write it back into the iseq's call data. Because iseqs can be shared
between Ractors (e.g. via Ractor.shareable_proc + define_method), two
Ractors invoking super through...
jhawthorn (John Hawthorn)

Also available in: Atom