Bug 214332

Summary: We must hold the CodeBlock lock when calling StructureStubInfo::reset
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, fpizlo, ggaren, gskachkov, guijemont, jsc32, keith_miller, mark.lam, msaboff, rmorisset, ross.kirsling, ticaiolima, tzagallo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Saam Barati
Reported 2020-07-14 16:44:51 PDT
...
Attachments
patch (15.35 KB, patch)
2020-07-14 16:54 PDT, Saam Barati
no flags
Saam Barati
Comment 1 2020-07-14 16:45:32 PDT
Saam Barati
Comment 2 2020-07-14 16:54:18 PDT
Yusuke Suzuki
Comment 3 2020-07-14 16:56:35 PDT
Comment on attachment 404307 [details] patch r=me
Saam Barati
Comment 4 2020-07-14 16:57:28 PDT
Comment on attachment 404307 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=404307&action=review > Source/JavaScriptCore/jit/Repatch.cpp:148 > + { > + GCSafeConcurrentJSLocker locker(codeBlock->m_lock, vm.heap); > + stubInfo.reset(locker, codeBlock); > + } this is the bug fix
EWS
Comment 5 2020-07-14 22:54:50 PDT
Committed r264388: <https://trac.webkit.org/changeset/264388> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404307 [details].
Note You need to log in before you can comment on or make changes to this bug.