IsoHeapImpl::scavenge* needs to grab the lock
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Apr 2018 04:57:43 +0000 (04:57 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Apr 2018 04:57:43 +0000 (04:57 +0000)
commit4d9c99dc1f9426d180ace3c2da2b2a04e2a5965c
treef9c49836fb0e782a1b8705143d31417e88108589
parentf03b51132dbe33e5c194b941852a971706194d20
IsoHeapImpl::scavenge* needs to grab the lock
https://bugs.webkit.org/show_bug.cgi?id=184461

Reviewed by Filip Pizlo.

Another thread could be modifying the linked list that the scavenge* methods traverse.

* bmalloc/IsoHeapImplInlines.h:
(bmalloc::IsoHeapImpl<Config>::scavenge):
(bmalloc::IsoHeapImpl<Config>::scavengeToHighWatermark):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/bmalloc/ChangeLog
Source/bmalloc/bmalloc/IsoHeapImplInlines.h