Skip to content
Commit Detail

Commit ddf53f4

Author
James M Snell <jsnell@cloudflare.com> 2025-04-09 14:14:02 -0700
Parents
33fe330
Tree
c717c1e
Add isolate memory accounting for jsg string types, Headers object (#3913)

* Add isolate memory accounting for jsg string types

Add methods to jsg::Lock to create instances of jsg string
specializations that include external memory accounting.

* jsg::ByteString
* jsg::DOMString
* jsg::USVString

* Add memory accounting for Headers constructors/methods

* Add v8 patch to add GetExternalMemory() to the API

* Add Headers object memory accounting test

Files changed