Skip to content

Account for external memory is JS-backed BYOB streams #2195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented May 30, 2024

To better account for per-isolate external memory usage, use a jsg::BufferSource to store the backing store in various queues instead of jsg::BackingStore.

@jasnell jasnell requested review from mikea and jp4a50 May 30, 2024 18:07
@jasnell jasnell requested review from a team as code owners May 30, 2024 18:07
@jasnell jasnell changed the title Use jsg::BufferSource in place of jsg::BackingStore in JS-backed streams Account for external memory is JS-backed BYOB streams May 30, 2024
@jasnell jasnell force-pushed the jsnell/standard-streams-memory-accounting branch 2 times, most recently from ffab416 to 292caa4 Compare June 4, 2024 16:42
To better account for per-isolate external memory usage, use a
jsg::BufferSource to store the backing store in various queues
instead of jsg::BackingStore.
@jasnell jasnell force-pushed the jsnell/standard-streams-memory-accounting branch from 292caa4 to e1d30de Compare June 4, 2024 17:08
@jasnell jasnell merged commit c62832e into main Jun 4, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants