| Summary: | [Mac] Always do a full GC when simulating memory pressure. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||||||
| Component: | WebCore JavaScript | Assignee: | Andreas Kling <kling> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | commit-queue, ggaren, kling, oliver | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Andreas Kling
2014-03-06 01:31:24 PST
Created attachment 225967 [details]
Patch
Comment on attachment 225967 [details]
Patch
I don't think we can afford to do this :(. The cost of GC under memory pressure is just too high.
Can we throw away code without forcing a GC?
Created attachment 228864 [details]
Patch
Comment on attachment 228864 [details]
Patch
/Volumes/Data/EWS/WebKit/Source/WebCore/platform/mac/MemoryPressureHandlerMac.mm:76:9: error: use of undeclared identifier 'gcController'
gcController().garbageCollectNow();
^
Created attachment 228871 [details]
Patch
Comment on attachment 228871 [details]
Patch
r=me
Comment on attachment 228871 [details] Patch Clearing flags on attachment: 228871 Committed r166953: <http://trac.webkit.org/changeset/166953> All reviewed patches have been landed. Closing bug. |