Bug 206444

Summary: [bmalloc] Replace some usage of UniqueLockHolder with cheaper LockHolder
Product: WebKit Reporter: Basuke Suzuki <Basuke.Suzuki>
Component: bmallocAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ggaren
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Basuke Suzuki 2020-01-17 14:26:48 PST
unique_lock is required for conditional variable, but some function takes unique_lock with no meaning. Because std::lock_guard is much cheaper on runtime, they should use std::lock_guard instead.
Comment 1 Basuke Suzuki 2020-01-17 14:29:18 PST
The differences of the code:
https://godbolt.org/z/wjx3Wy