General

Profile

HParker (Adam Hess)

  • Login: HParker
  • Registered on: 01/05/2021
  • Last sign in: 03/03/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 9 9

Activity

01/19/2024

10:57 PM Ruby Revision cfabe9c5 (git): [ruby/prism] Handle stovetop start in constant path fullname
https://github.com/ruby/prism/commit/3a216e63fe HParker (Adam Hess)

01/17/2024

01:26 PM Ruby Revision 13879fea (git): [ruby/prism] Fix prism brace association for constant-like method/local calls
https://github.com/ruby/prism/commit/8ca24f263e HParker (Adam Hess)

01/04/2024

11:56 PM Ruby Revision 6aacbd69 (git): Free pthread_attr after setting up the thread
[bug #20149] HParker (Adam Hess)
08:08 PM Ruby Bug #20149 (Closed): Fix memory leak in IPSocket rb_getaddrinfo
PR: https://github.com/ruby/ruby/pull/9413
Fixes a memory leak pthread_attr is created, but never cleaned up
```
require 'socket'
10.times do
10_000.times do
IPSocket.getaddress("localhost")
end
puts `ps -o rss=...
HParker (Adam Hess)

12/20/2023

05:36 AM Ruby Revision 7ef90b39 (git): Correct free_on_exit env var to free_at_exit
HParker (Adam Hess)

12/15/2023

06:45 PM Ruby Bug #20044 (Closed): Add runtime flag and environment variable for prism
Applied in changeset commit:git|55326a915f25608be1d40ab32baa9fc57762615d.
----------
Introduce --parser runtime flag
Introduce runtime flag for specifying the parser,
```
ruby --parser=prism
```
also update the description:
```
$ ru...
HParker (Adam Hess)
06:42 PM Ruby Revision 55326a91 (git): Introduce --parser runtime flag
Introduce runtime flag for specifying the parser,
```
ruby --parser=prism
```
also update the description:
```
$ ruby --parser=prism --version
ruby 3.3.0dev (2023-12-08T04:47:14Z add-parser-runtime.. 0616384c9f) +PRISM [x86_64-darwin2...
HParker (Adam Hess)
03:31 PM Ruby Revision 474b4c42 (git): free ractors with ractor_free
Previously with RUBY_FREE_ON_EXIT, ractors where being xfree-ed which is incorrect since they are not xmalloced.
Instead we can free ractors with ractor free during shutdown. This change only effects main ractor freeing when RUBY_FREE_ON...
HParker (Adam Hess)

12/07/2023

08:52 PM Ruby Revision 6816e8ef (git): Free everything at shutdown
when the RUBY_FREE_ON_SHUTDOWN environment variable is set, manually free memory at shutdown.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
HParker (Adam Hess)

12/06/2023

01:59 AM Ruby Bug #20044: Add runtime flag and environment variable for prism
I am happy to adopt any direction the core team likes for this proposal, but to attempt answers to @mame's questions, I would suggest,
> What to do with the command-line option when prism becomes the default parser in the future.
I...
HParker (Adam Hess)

Also available in: Atom