| Summary: | Prohibit GC while sweeping | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> | ||||||
| Component: | New Bugs | Assignee: | Geoffrey Garen <ggaren> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | fpizlo, kling, mhahnenb | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Geoffrey Garen
2015-03-12 13:26:55 PDT
Created attachment 248538 [details]
Patch
Created attachment 248540 [details]
Patch
Comment on attachment 248540 [details]
Patch
This seems entirely reasonable. r=me
Comment on attachment 248540 [details]
Patch
I recommend DeferGCForAWhile, so that if the sweep reports extra cost, then we won't GC as we're popping the DeferGC scope. I believe in such cases it's always preferable to wait until the allocation itself realizes that it should GC.
(In reply to comment #4) > Comment on attachment 248540 [details] > Patch > > I recommend DeferGCForAWhile, so that if the sweep reports extra cost, then > we won't GC as we're popping the DeferGC scope. I believe in such cases > it's always preferable to wait until the allocation itself realizes that it > should GC. OK. Will do. Committed r181486: <http://trac.webkit.org/changeset/181486> |