Bug 170773

Summary: WebAssembly: free cached fast memories if they go unused for a while
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: fpizlo, jfbastien, keith_miller, mark.lam, msaboff, sbarati
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=170774
Bug Depends on: 170628    
Bug Blocks: 159775    

Description JF Bastien 2017-04-12 09:31:13 PDT
As of bug #170628 the GC knows some things about WebAssembly fast memories. Maybe it should know a bit more, and free up unused fast memories if they seem easy to get but haven't been getting much use recently.

This is at odds with pre-allocation to avoid fragmentation, so we have to be careful.