Skip to content

Implement dsize and dcompact functions for Puma::HttpParser#3828

Merged
nateberkopec merged 1 commit intopuma:mainfrom
byroot:http-parser-size
Nov 20, 2025
Merged

Implement dsize and dcompact functions for Puma::HttpParser#3828
nateberkopec merged 1 commit intopuma:mainfrom
byroot:http-parser-size

Conversation

@byroot
Copy link
Copy Markdown
Contributor

@byroot byroot commented Nov 20, 2025

dsize allows these objects to be properly reported in heap dumps.

dcompact allows the GC to move the other objects this one refers to.

I also wanted to implement write barrier, but this is made difficult by the current parser architecture. But I have ideas on how to change it that may or may not pan out.

`dsize` allows these objects to be properly reported in heap dumps.

`dcompact` allows the GC to move the other objects this one refers
to.

I also wanted to implement write barrier, but this is made difficult
by the current parser architecture. But I have ideas on how to change
it that may or may not pan out.
@github-actions github-actions Bot added the waiting-for-review Waiting on review from anyone label Nov 20, 2025
@nateberkopec nateberkopec merged commit 01e22c1 into puma:main Nov 20, 2025
70 of 71 checks passed
@nateberkopec
Copy link
Copy Markdown
Member

0 days without (Lenny, Simpsons)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-for-review Waiting on review from anyone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants