RESOLVED FIXED 158994
CodeBlock::shrinkToFit is racy
https://bugs.webkit.org/show_bug.cgi?id=158994
Summary CodeBlock::shrinkToFit is racy
Saam Barati
Reported 2016-06-21 11:29:26 PDT
Let's say CodeBlock A is finalizing its baseline compile. Let's say CodeBlock B is inlining A, and asks A for a result profile. This happens as the finalizing step of the baseline compile calls shrinkToFit on its m_resultProfiles field without grabbing lock. This leads to a bad time.
Attachments
patch (1.87 KB, patch)
2016-06-21 11:49 PDT, Saam Barati
no flags
patch (1.87 KB, patch)
2016-06-21 11:51 PDT, Saam Barati
no flags
Saam Barati
Comment 1 2016-06-21 11:30:43 PDT
Saam Barati
Comment 2 2016-06-21 11:49:05 PDT
Saam Barati
Comment 3 2016-06-21 11:51:36 PDT
WebKit Commit Bot
Comment 4 2016-06-21 13:14:10 PDT
Comment on attachment 281763 [details] patch Clearing flags on attachment: 281763 Committed r202288: <http://trac.webkit.org/changeset/202288>
WebKit Commit Bot
Comment 5 2016-06-21 13:14:15 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.