Bug 169892
Summary: | WebAssembly: WasmMemory::lastAllocatedMemoryMode is racy | ||
---|---|---|---|
Product: | WebKit | Reporter: | JF Bastien <jfbastien> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | fpizlo, jfbastien, keith_miller, mark.lam, msaboff, saam |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=170628 | ||
Bug Depends on: | |||
Bug Blocks: | 159775 |
JF Bastien
It's a benign race... but you can create two Workers, use wasm, and they clobber the value independently.
I'm not sure TLS is the best thing either. Having the VM may be better?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
JF Bastien
Same for allocatedFastMemories, though this one is less benign.
JF Bastien
*** This bug has been marked as a duplicate of bug 170628 ***