General

Profile

jhawthorn (John Hawthorn)

  • Login: jhawthorn
  • Registered on: 12/22/2016
  • Last sign in: 08/28/2025

Issues

open closed Total
Assigned issues 22 57 79
Reported issues 3 22 25

Projects

Project Roles Registered on
Ruby Committer 11/25/2021

Like

Activity

08/27/2025

03:02 AM Ruby Revision 5ff7b2c5 (git): [DOC] Add Ractor to NEWS
jhawthorn (John Hawthorn)

08/21/2025

10:42 PM Ruby Revision 823d55a8 (git): Add lock-free fastpath to callable_method_entry...
jhawthorn (John Hawthorn)
07:45 PM Ruby Bug #20346 (Closed): FiberScheduler.unblock not called by Thread#join when Thread body contains Ractor.take
This no longer deadlocks. Under the new Ractor API the `take` should be replaced with `value`.
``` ruby
require "...
jhawthorn (John Hawthorn)
07:37 PM Ruby Bug #19407 (Closed): 2 threads taking from current ractor will hang forever
I believe the Ractor::Port interface doesn't suffer from this issue
```
ruby -e 'th = 2.times.map { |i| Thread.ne...
jhawthorn (John Hawthorn)
06:37 PM Ruby Bug #20146 (Closed): Code using Ractor with env `RUBY_MAX_CPU=1` ends with unreachable
Applied in changeset commit:git|7ac16eff311f9bc762586bda9540d82e8eb7f135.
----------
Adjust snt < max_cpu calculatio...
jhawthorn (John Hawthorn)
06:37 PM Ruby Revision 7ac16eff (git): Adjust snt < max_cpu calculation
[Bug #20146]
Previously we dealt with the main Ractor not being enabled for M:N by
incrementing snt_cnt++. This work...
jhawthorn (John Hawthorn)
07:17 AM Ruby Revision feb83316 (git): Atomic CC table set in cache_callable_method_entry
jhawthorn (John Hawthorn)
03:05 AM Ruby Feature #21039: Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
Eregon (Benoit Daloze) wrote in #note-24:
> ```ruby
> counter = 0
> get "/" do # assume the proc gets copied here ...
jhawthorn (John Hawthorn)

08/20/2025

06:00 PM Ruby Revision 5c96bbf3 (git): Avoid spawning thread for trivial getnameinfo calls
When calling getnameinfo we spawn a thread because it may do a slow,
blocking reverse-DNS lookup. Spawning a thread i...
jhawthorn (John Hawthorn)

08/19/2025

07:00 PM Ruby Feature #21039: Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
tenderlovemaking (Aaron Patterson) wrote in #note-21:
>
> ```ruby
> foo = 123
> Ractor.shareable_proc { foo }
>...
jhawthorn (John Hawthorn)

Also available in: Atom