Summary: | [bmalloc] Scavenger's Mutex can be used after release. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Basuke Suzuki <Basuke.Suzuki> |
Component: | bmalloc | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ggaren, webkit-bug-importer, ysuzuki |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Basuke Suzuki
2023-05-04 12:08:51 PDT
It can be solved if StaticPerProcess is replaced with PerProcess Yusuke suggested other ideas: - defining StaticMutex - add [[clang::no_destroy]] PerProcess use probably causes RAMification regression sunce it allocates new 16KB page and libpas using platforms were not allocating that page before (but still using StaticPerProcess). So, probably StaticMutex is way to go, and this is correct since the issue relies on Mutex implementation (right now this problem is platform specific since Darwin and Linux are not having this issue since Mutex does not have destructors) |