We should support the MemoryUsageSupport class, it is currently only used by the V8 garbage-collector, but it can be usefull for us to measure run-time memory-usage more accurately and to implement a memory pressure handler.
Created attachment 151952 [details] Patch
Comment on attachment 151952 [details] Patch Attachment 151952 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13180834
Created attachment 151957 [details] Patch
Comment on attachment 151957 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=151957&action=review > Source/WebCore/platform/MemoryUsageSupport.h:36 > +// MemoryUsageSupport is currently only used by the V8 garbage collector. I wouldn't add this sort of comment. It's likely to get out of date quickly.
(In reply to comment #4) > (From update of attachment 151957 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=151957&action=review > > > Source/WebCore/platform/MemoryUsageSupport.h:36 > > +// MemoryUsageSupport is currently only used by the V8 garbage collector. > > I wouldn't add this sort of comment. It's likely to get out of date quickly. Okay.
Committed r122462: <http://trac.webkit.org/changeset/122462>
(In reply to comment #6) > Committed r122462: <http://trac.webkit.org/changeset/122462> It broke the 4.8 builds, could you fix it, please? /ramdisk/qt-linux-release/build/Source/WebCore/platform/qt/MemoryUsageSupportQt.cpp:25:45: error: JavaScriptCore/MemoryStatistics.h: No such file or directory
(In reply to comment #7) > (In reply to comment #6) > > Committed r122462: <http://trac.webkit.org/changeset/122462> > > It broke the 4.8 builds, could you fix it, please? > /ramdisk/qt-linux-release/build/Source/WebCore/platform/qt/MemoryUsageSupportQt.cpp:25:45: error: JavaScriptCore/MemoryStatistics.h: No such file or directory Fixed in r122474.