Open Bug 1974945 Opened 1 year ago Updated 1 year ago

Support some kind of shrinking for large buffers on Windows

Categories

(Core :: JavaScript: GC, enhancement, P3)

Unspecified
Windows
enhancement

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

As suggested by Steve in code review, there are some things we can do to shrink large buffers on Windows:

https://phabricator.services.mozilla.com/D255305#inline-1402946

We cannot deallocate part of the virtual address space allocation made with VirtualAlloc, but we can use MEM_RESET so that some of the backing is reused.

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.