WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
66724
Sampling counter support is in the bytecode directory
https://bugs.webkit.org/show_bug.cgi?id=66724
Summary
Sampling counter support is in the bytecode directory
Filip Pizlo
Reported
2011-08-22 15:11:23 PDT
Sampling counters are a useful way of doing light-weight profiling in JSC. For historical reasons, the SamplingCounter classes are in bytecode/SamplingTool.h, even though the SamplingCounter classes have nothing to do with bytecode. Furthermore, the SamplingTool.h file includes quite a large chunk of the runtime, so attempting to include it in core runtime headers would lead to potentially bad circularity. This can be solved by moving SamplingCounter into its own header, which lives in runtime and has few dependencies.
Attachments
the patch
(24.00 KB, patch)
2011-08-22 15:16 PDT
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
the patch (fix style)
(23.99 KB, patch)
2011-08-22 15:29 PDT
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2011-08-22 15:16:39 PDT
Created
attachment 104749
[details]
the patch
WebKit Review Bot
Comment 2
2011-08-22 15:19:13 PDT
Attachment 104749
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/runtime/SamplingCounter.h:84: Should have only a single space after a punctuation in a comment. [whitespace/comments] [5] Source/JavaScriptCore/runtime/SamplingCounter.h:92: Should have only a single space after a punctuation in a comment. [whitespace/comments] [5] Source/JavaScriptCore/runtime/SamplingCounter.h:105: Should have only a single space after a punctuation in a comment. [whitespace/comments] [5] Source/JavaScriptCore/runtime/SamplingCounter.h:147: Should have only a single space after a punctuation in a comment. [whitespace/comments] [5] Source/JavaScriptCore/runtime/SamplingCounter.h:148: Should have only a single space after a punctuation in a comment. [whitespace/comments] [5] Total errors found: 5 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 3
2011-08-22 15:29:16 PDT
Created
attachment 104754
[details]
the patch (fix style)
WebKit Review Bot
Comment 4
2011-08-22 16:41:34 PDT
Comment on
attachment 104754
[details]
the patch (fix style) Clearing flags on attachment: 104754 Committed
r93560
: <
http://trac.webkit.org/changeset/93560
>
WebKit Review Bot
Comment 5
2011-08-22 16:41:39 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug