RESOLVED FIXED 102510
Memory instrumentation: extract MemoryObjectInfo declaration into a separate file
https://bugs.webkit.org/show_bug.cgi?id=102510
Summary Memory instrumentation: extract MemoryObjectInfo declaration into a separate ...
Yury Semikhatsky
Reported 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.
Attachments
Patch (33.83 KB, patch)
2012-11-16 08:24 PST, Yury Semikhatsky
no flags
Patch (34.43 KB, patch)
2012-11-19 00:24 PST, Yury Semikhatsky
no flags
Patch (34.49 KB, patch)
2012-11-19 01:10 PST, Yury Semikhatsky
no flags
Patch (34.48 KB, patch)
2012-11-19 01:22 PST, Yury Semikhatsky
no flags
Patch (34.66 KB, patch)
2012-11-19 02:09 PST, Yury Semikhatsky
no flags
Patch (41.05 KB, patch)
2012-11-19 06:39 PST, Yury Semikhatsky
pfeldman: review+
gtk-ews: commit-queue-
Yury Semikhatsky
Comment 1 2012-11-16 08:24:22 PST
WebKit Review Bot
Comment 2 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.
EFL EWS Bot
Comment 3 2012-11-16 08:41:06 PST
Build Bot
Comment 4 2012-11-16 09:18:28 PST
WebKit Review Bot
Comment 5 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
Build Bot
Comment 6 2012-11-16 18:19:17 PST
Peter Beverloo (cr-android ews)
Comment 7 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
Yury Semikhatsky
Comment 8 2012-11-19 00:24:19 PST
EFL EWS Bot
Comment 9 2012-11-19 00:31:36 PST
Build Bot
Comment 10 2012-11-19 00:58:19 PST
Yury Semikhatsky
Comment 11 2012-11-19 01:10:49 PST
EFL EWS Bot
Comment 12 2012-11-19 01:16:12 PST
Yury Semikhatsky
Comment 13 2012-11-19 01:22:17 PST
Build Bot
Comment 14 2012-11-19 01:54:46 PST
Yury Semikhatsky
Comment 15 2012-11-19 02:09:04 PST
Yury Semikhatsky
Comment 16 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.
Build Bot
Comment 17 2012-11-19 02:54:07 PST
Yury Semikhatsky
Comment 18 2012-11-19 06:39:06 PST
Yury Semikhatsky
Comment 19 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.
kov's GTK+ EWS bot
Comment 20 2012-11-19 08:27:20 PST
Yury Semikhatsky
Comment 21 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?
Yury Semikhatsky
Comment 22 2012-11-23 06:08:56 PST
Yury Semikhatsky
Comment 23 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.
Note You need to log in before you can comment on or make changes to this bug.