Bug 147200

Summary: Introduce release assert for using threads before threading is initialized
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: Web Template FrameworkAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cmarcelo, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
the patch msaboff: review+

Description Filip Pizlo 2015-07-22 13:20:57 PDT
Previously there was a debug assert in ThreadIdentifierData::identifier() that would catch this, but we can also have a release assert in initialize(), which is called much less frequently.
Comment 1 Filip Pizlo 2015-07-22 13:24:35 PDT
Created attachment 257289 [details]
the patch
Comment 2 Michael Saboff 2015-07-22 13:41:59 PDT
Comment on attachment 257289 [details]
the patch

r=me
Comment 3 Filip Pizlo 2015-07-22 13:50:57 PDT
Landed in http://trac.webkit.org/changeset/187177