Bug 166947

Summary: Clarify the invariant that we can only call JS heap object destructors on the main thread.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: ASSIGNED ---    
Severity: Normal CC: fpizlo, ggaren, jfbastien, keith_miller, msaboff, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. fpizlo: review-

Description Mark Lam 2017-01-11 16:14:38 PST
Patch coming.
Comment 1 Mark Lam 2017-01-11 16:19:30 PST
Created attachment 298626 [details]
proposed patch.
Comment 2 Geoffrey Garen 2017-01-11 17:15:15 PST
Comment on attachment 298626 [details]
proposed patch.

WebCore has invariants about its destructors only being called on the main thread. But JSC generally can be used on any thread.