Implement dsize and dcompact functions for Puma::HttpParser by byroot · Pull Request #3828 · puma/puma
`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.
This was referenced
Apr 10, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters