Bug 204350

Summary: [JSC] DisallowVMReentry and DeferGC should use WTF::ThreadSpecific instead of using WTF::threadSpecificKeyCreate directly
Product: WebKit Reporter: Fujii Hironori <fujii.hironori>
Component: JavaScriptCoreAssignee: Fujii Hironori <fujii.hironori>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, ews-watchlist, keith_miller, mark.lam, msaboff, ross.kirsling, saam, tzagallo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ysuzuki: review+

Fujii Hironori
Reported 2019-11-19 04:10:26 PST
WTF provides two thread specific storages, ThreadSpecific and threadSpecificKeyCreate. Only DisallowVMReentry and DeferGC are using threadSpecificKeyCreate. WTF::ThreadSpecific should be used because it is a useful wrapper.
Attachments
Patch (5.12 KB, patch)
2019-11-19 04:13 PST, Fujii Hironori
ysuzuki: review+
Fujii Hironori
Comment 1 2019-11-19 04:13:58 PST
Yusuke Suzuki
Comment 2 2019-11-19 13:58:57 PST
Comment on attachment 383860 [details] Patch r=me
Fujii Hironori
Comment 3 2019-11-19 18:10:05 PST
Radar WebKit Bug Importer
Comment 4 2019-11-19 18:11:18 PST
Note You need to log in before you can comment on or make changes to this bug.