Bug 102510 - Memory instrumentation: extract MemoryObjectInfo declaration into a separate file
Summary: Memory instrumentation: extract MemoryObjectInfo declaration into a separate ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Yury Semikhatsky
URL:
Keywords:
Depends on:
Blocks: 103137
  Show dependency treegraph
 
Reported: 2012-11-16 07:32 PST by Yury Semikhatsky
Modified: 2012-11-23 06:48 PST (History)
21 users (show)

See Also:


Attachments
Patch (33.83 KB, patch)
2012-11-16 08:24 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
Patch (34.43 KB, patch)
2012-11-19 00:24 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
Patch (34.49 KB, patch)
2012-11-19 01:10 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
Patch (34.48 KB, patch)
2012-11-19 01:22 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
Patch (34.66 KB, patch)
2012-11-19 02:09 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
Patch (41.05 KB, patch)
2012-11-19 06:39 PST, Yury Semikhatsky
pfeldman: review+
gtk-ews: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 2012-11-16 07:32:19 PST
We are planning to store more information about instrumented object in MemoryObjectInfo. It means that it will depend on other WTF classes(strings, collections etc.) but we don't want to include declarations of those classes into MemoryInstrumentation.h The solution is to move MemoryObjectInfo into its own header and make MemoryInstrumentation.h depend only on its forward declaration.
Comment 1 Yury Semikhatsky 2012-11-16 08:24:22 PST
Created attachment 174692 [details]
Patch
Comment 2 WebKit Review Bot 2012-11-16 08:28:13 PST
Attachment 174692 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WTF/ChangeLog', u'Source/WTF/GNUmak..." exit_code: 1
Source/WTF/wtf/MemoryInstrumentation.cpp:37:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 14 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 EFL EWS Bot 2012-11-16 08:41:06 PST
Comment on attachment 174692 [details]
Patch

Attachment 174692 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/14844943
Comment 4 Build Bot 2012-11-16 09:18:28 PST
Comment on attachment 174692 [details]
Patch

Attachment 174692 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/14861241
Comment 5 WebKit Review Bot 2012-11-16 09:23:50 PST
Comment on attachment 174692 [details]
Patch

Attachment 174692 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/14857700
Comment 6 Build Bot 2012-11-16 18:19:17 PST
Comment on attachment 174692 [details]
Patch

Attachment 174692 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/14872353
Comment 7 Peter Beverloo (cr-android ews) 2012-11-16 19:42:31 PST
Comment on attachment 174692 [details]
Patch

Attachment 174692 [details] did not pass cr-android-ews (chromium-android):
Output: http://queues.webkit.org/results/14876131
Comment 8 Yury Semikhatsky 2012-11-19 00:24:19 PST
Created attachment 174904 [details]
Patch
Comment 9 EFL EWS Bot 2012-11-19 00:31:36 PST
Comment on attachment 174904 [details]
Patch

Attachment 174904 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/14907097
Comment 10 Build Bot 2012-11-19 00:58:19 PST
Comment on attachment 174904 [details]
Patch

Attachment 174904 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/14899093
Comment 11 Yury Semikhatsky 2012-11-19 01:10:49 PST
Created attachment 174909 [details]
Patch
Comment 12 EFL EWS Bot 2012-11-19 01:16:12 PST
Comment on attachment 174909 [details]
Patch

Attachment 174909 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/14876856
Comment 13 Yury Semikhatsky 2012-11-19 01:22:17 PST
Created attachment 174911 [details]
Patch
Comment 14 Build Bot 2012-11-19 01:54:46 PST
Comment on attachment 174911 [details]
Patch

Attachment 174911 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/14905117
Comment 15 Yury Semikhatsky 2012-11-19 02:09:04 PST
Created attachment 174921 [details]
Patch
Comment 16 Yury Semikhatsky 2012-11-19 02:12:26 PST
(In reply to comment #15)
> Created an attachment (id=174921) [details]
> Patch

Added WTF_EXPORT_PRIVATE to methods whose implementation moved to MemoryInstrumentation.cpp.
Comment 17 Build Bot 2012-11-19 02:54:07 PST
Comment on attachment 174921 [details]
Patch

Attachment 174921 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/14904158
Comment 18 Yury Semikhatsky 2012-11-19 06:39:06 PST
Created attachment 174968 [details]
Patch
Comment 19 Yury Semikhatsky 2012-11-19 06:39:53 PST
(In reply to comment #18)
> Created an attachment (id=174968) [details]
> Patch

Added new symbols to JavaScriptCore.def to make patch compile on Windows.
Comment 20 kov's GTK+ EWS bot 2012-11-19 08:27:20 PST
Comment on attachment 174968 [details]
Patch

Attachment 174968 [details] did not pass gtk-ews (gtk):
Output: http://queues.webkit.org/results/14899240
Comment 21 Yury Semikhatsky 2012-11-22 07:38:12 PST
gns@, could you help us understand what we are doing wrong in GTK build system, looking at the GNUmakefiles at seems that we have entries for MemoryInstrumentation.cpp in same places as for WTFString.cpp still Tools/TestWebKitAPI/Tests/WTF/WTFString.cpp compiles fine while Tools/TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp doesn't link?
Comment 22 Yury Semikhatsky 2012-11-23 06:08:56 PST
Committed r135603: <http://trac.webkit.org/changeset/135603>
Comment 23 Yury Semikhatsky 2012-11-23 06:48:00 PST
(In reply to comment #22)
> Committed r135603: <http://trac.webkit.org/changeset/135603>

I filed a bug on the Gtk build error https://bugs.webkit.org/show_bug.cgi?id=103137 and removed MemoryInstrumentationTest.cpp from  Tools/TestWebKitAPI/GNUmakefile.am until we resolve the issue.