Summary: | De-virtualize destructors | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Hahnenberg <mhahnenberg> | ||||||||||||||
Component: | JavaScriptCore | Assignee: | Mark Hahnenberg <mhahnenberg> | ||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||
Severity: | Normal | CC: | abarth, gustavo.noronha, gustavo, japhet, webkit.review.bot, xan.lopez | ||||||||||||||
Priority: | P2 | ||||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
Bug Depends on: | 74332, 74333, 74335, 74336, 74338, 74339, 74341, 74342, 74347, 74348, 74349, 74350, 74353, 74355 | ||||||||||||||||
Bug Blocks: | |||||||||||||||||
Attachments: |
|
Description
Mark Hahnenberg
2011-12-12 14:21:25 PST
Created attachment 119091 [details]
Patch
Created attachment 119112 [details]
Patch
Comment on attachment 119112 [details]
Patch
This patch is obviously more than just de-virtualizing destructors. Destructors were the last virtual function in the JSCell hierarchy, so their removal caused a cascade of other necessary changes to be done in the same patch.
Attachment 119112 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'Source/JavaScriptCore/API/JS..." exit_code: 1
Source/JavaScriptCore/jit/JITOpcodes.cpp:52: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4]
Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:55: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4]
Total errors found: 2 in 144 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 119112 [details] Patch Attachment 119112 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/10876038 Comment on attachment 119112 [details] Patch Attachment 119112 [details] did not pass efl-ews (efl): Output: http://queues.webkit.org/results/10876045 Comment on attachment 119112 [details] Patch Attachment 119112 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/10873050 Comment on attachment 119112 [details] Patch Attachment 119112 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/10875113 Created attachment 119263 [details]
Patch
Attachment 119263 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'Source/JavaScriptCore/API/JS..." exit_code: 1
Source/JavaScriptCore/jit/JITOpcodes.cpp:52: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4]
Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:55: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4]
Total errors found: 2 in 152 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 119263 [details]
Patch
Since I've already reviewed the sub-patches, r=me if it builds.
Comment on attachment 119263 [details] Patch Attachment 119263 [details] did not pass qt-ews (qt): Output: http://queues.webkit.org/results/10872346 Comment on attachment 119263 [details] Patch Attachment 119263 [details] did not pass efl-ews (efl): Output: http://queues.webkit.org/results/10872357 Comment on attachment 119263 [details] Patch Attachment 119263 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/10873360 Comment on attachment 119263 [details] Patch Attachment 119263 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/10870456 Created attachment 119317 [details]
Patch
Attachment 119317 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'Source/JavaScriptCore/API/JS..." exit_code: 1
Source/JavaScriptCore/jit/JITOpcodes.cpp:52: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4]
Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:55: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4]
Total errors found: 2 in 152 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 119317 [details] Patch Attachment 119317 [details] did not pass efl-ews (efl): Output: http://queues.webkit.org/results/10905021 Created attachment 119371 [details]
Patch
Attachment 119371 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'Source/JavaScriptCore/API/JS..." exit_code: 1
Source/JavaScriptCore/jit/JITOpcodes.cpp:52: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4]
Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:55: string_failureCases2 is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4]
Total errors found: 2 in 152 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 119371 [details]
Patch
r=me if it builds.
Comment on attachment 119371 [details] Patch Rejecting attachment 119371 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: /Netscape/JSNPMethod.cpp patching file Source/WebKit2/WebProcess/Plugins/Netscape/JSNPObject.cpp patching file Source/WebKit2/WebProcess/Plugins/Netscape/JSNPObject.h patching file Source/WebKit2/win/WebKit2.def patching file Source/WebKit2/win/WebKit2CFLite.def patching file Source/autotools/symbols.filter patching file ChangeLog Hunk #1 succeeded at 1 with fuzz 3. Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--reviewer', u'Geoffrey Garen', u'--f..." exit_code: 1 Full output: http://queues.webkit.org/results/10914511 Committed r103083: <http://trac.webkit.org/changeset/103083> Created attachment 119639 [details]
Bencher results
Performance results for this patch. Mostly a wash, small win on kraken.
|