| Summary: | Remove lock around atomic string table when web thread is enabled | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | NEW --- | ||||||||
| Severity: | Normal | CC: | andersca, ap, benjamin, cmarcelo, commit-queue | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Antti Koivisto
2014-04-08 14:27:20 PDT
Created attachment 228894 [details]
patch
Created attachment 228895 [details]
patch
Comment on attachment 228895 [details]
patch
You can also remove the #include for the spin lock.
Comment on attachment 228895 [details]
patch
Seems we can't do this yet since WebKit2 UI process side uses WebCore::ResourceRequest which uses AtomicStrings. :(
(In reply to comment #5) > (From update of attachment 228895 [details]) > Seems we can't do this yet since WebKit2 UI process side uses WebCore::ResourceRequest which uses AtomicStrings. :( The old lock does not protect that. Neither the refcount nor the flags are thread safe. The lock was a hack for a specific code path into AtomicString. |