Changeset 230515 in webkit
- Timestamp:
- Apr 10, 2018 9:57:43 PM (6 years ago)
- Location:
- trunk/Source/bmalloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/bmalloc/ChangeLog
r230501 r230515 1 2018-04-10 Saam Barati <sbarati@apple.com> 2 3 IsoHeapImpl::scavenge* needs to grab the lock 4 https://bugs.webkit.org/show_bug.cgi?id=184461 5 6 Reviewed by Filip Pizlo. 7 8 Another thread could be modifying the linked list that the scavenge* methods traverse. 9 10 * bmalloc/IsoHeapImplInlines.h: 11 (bmalloc::IsoHeapImpl<Config>::scavenge): 12 (bmalloc::IsoHeapImpl<Config>::scavengeToHighWatermark): 13 1 14 2018-04-10 Saam Barati <sbarati@apple.com> 2 15 -
trunk/Source/bmalloc/bmalloc/IsoHeapImplInlines.h
r230501 r230515 102 102 void IsoHeapImpl<Config>::scavenge(Vector<DeferredDecommit>& decommits) 103 103 { 104 std::lock_guard<Mutex> locker(this->lock); 104 105 forEachDirectory( 105 106 [&] (auto& directory) { … … 112 113 void IsoHeapImpl<Config>::scavengeToHighWatermark(Vector<DeferredDecommit>& decommits) 113 114 { 115 std::lock_guard<Mutex> locker(this->lock); 114 116 if (!m_directoryHighWatermark) 115 117 m_inlineDirectory.scavengeToHighWatermark(decommits);
Note: See TracChangeset
for help on using the changeset viewer.