General

Profile

jhawthorn (John Hawthorn)

  • Login: jhawthorn
  • Registered on: 12/22/2016
  • Last sign in: 05/02/2025

Issues

open closed Total
Assigned issues 3 25 28
Reported issues 2 21 23

Projects

Project Roles Registered on
Ruby Committer 11/25/2021

Like

Activity

05/04/2025

01:26 AM Ruby Misc #21281: DevMeeting-2025-05-08
* [Feature #21267] `respond_to` check in `Class#allocate` is inconsistent
* `Class#allocate` does a slow `respond_...
jhawthorn (John Hawthorn)
01:19 AM Ruby Bug #21267: respond_to check in Class#allocate is inconsistent
At RubyKaigi @byroot and I looked at this and came up with a more efficient and resilient way to do the check (https:... jhawthorn (John Hawthorn)

05/02/2025

09:28 PM Ruby Revision 36c64b3b (git): Also prefer FL_TEST_RAW in gc.c
Similar to 4a040eeb0d880b67a5005cce382122fd5b629b99, I noticed the test
for FL_FINALIZE checking FL_ABLE in a profile...
jhawthorn (John Hawthorn)

04/30/2025

10:36 PM Ruby Revision 7866e124 (git): Use rb_current_ec_noinline in assertions
When doing a coroutine transfer from one thread to another, there's a
risk that the compiler will reuse an address fr...
jhawthorn (John Hawthorn)

04/18/2025

05:26 AM Ruby Bug #19288 (Closed): Ractor JSON parsing significantly slower than linear parsing
I've made a couple changes which should improve this. This is a bit of an odd benchmark as the keys are always random... jhawthorn (John Hawthorn)
04:04 AM Ruby Feature #21268 (Closed): Implement a lock-free hash set for fstring table
Applied in changeset commit:git|57b6a7503f19a9ffb53b1c505c7e093d7a6e33a4.
----------
Lock-free hash set for fstrings...
jhawthorn (John Hawthorn)
04:03 AM Ruby Revision 89199a47 (git): Extract rb_gc_free_fstring to string.c
This allows more flexibility in how we deal with the fstring table jhawthorn (John Hawthorn)
04:03 AM Ruby Revision b28363a8 (git): Work on ATOMIC_VALUE_SET
jhawthorn (John Hawthorn)
04:03 AM Ruby Revision 57b6a750 (git): Lock-free hash set for fstrings [Feature #21268]
This implements a hash set which is wait-free for lookup and lock-free
for insert (unless resizing) to use for fstrin...
jhawthorn (John Hawthorn)
04:03 AM Ruby Revision 3a29e835 (git): Add benchmarks for fstring de-duplication
jhawthorn (John Hawthorn)

Also available in: Atom