Bug 166947 - Clarify the invariant that we can only call JS heap object destructors on the main thread.
Summary: Clarify the invariant that we can only call JS heap object destructors on the...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-11 16:14 PST by Mark Lam
Modified: 2017-01-11 17:15 PST (History)
6 users (show)

See Also:


Attachments
proposed patch. (2.64 KB, patch)
2017-01-11 16:19 PST, Mark Lam
fpizlo: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.