WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
159037
TypeProfiler and TypeProfilerLog don't play nicely with the concurrent JIT
https://bugs.webkit.org/show_bug.cgi?id=159037
Summary
TypeProfiler and TypeProfilerLog don't play nicely with the concurrent JIT
Saam Barati
Reported
2016-06-22 13:52:16 PDT
We process the log on a background compiler thread, and this leads to a bad time
Attachments
patch
(55.84 KB, patch)
2016-06-22 16:33 PDT
,
Saam Barati
benjamin
: review+
Details
Formatted Diff
Diff
patch for landing
(55.86 KB, patch)
2016-06-22 16:57 PDT
,
Saam Barati
no flags
Details
Formatted Diff
Diff
patch for landing that builds
(56.04 KB, patch)
2016-06-22 17:46 PDT
,
Saam Barati
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Saam Barati
Comment 1
2016-06-22 16:06:06 PDT
<
rdar://problem/26935349
>
Saam Barati
Comment 2
2016-06-22 16:33:17 PDT
Created
attachment 281882
[details]
patch
WebKit Commit Bot
Comment 3
2016-06-22 16:35:09 PDT
Attachment 281882
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/TypeSet.cpp:52: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Benjamin Poulain
Comment 4
2016-06-22 16:45:22 PDT
Comment on
attachment 281882
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=281882&action=review
> Source/JavaScriptCore/runtime/TypeSet.h:106 > +public: > + ConcurrentJITLock m_lock;
Why put the lock in the middle instead of in the public declarations above?
Saam Barati
Comment 5
2016-06-22 16:51:03 PDT
Comment on
attachment 281882
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=281882&action=review
>> Source/JavaScriptCore/runtime/TypeSet.h:106 >> + ConcurrentJITLock m_lock; > > Why put the lock in the middle instead of in the public declarations above?
They fit into 32-bits this way. This won't matter for 64 bit paltforms, but will save 32-bits in TypeSet size for 32-bit platforms. I guess I could reorder the fields like so to prevent the private/public break: ``` public: ... methods and such ... Lock m_lock; private: bool m_isOverflown; RuntimeTypeMask ... .... ```
Saam Barati
Comment 6
2016-06-22 16:51:49 PDT
Comment on
attachment 281882
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=281882&action=review
>>> Source/JavaScriptCore/runtime/TypeSet.h:106 >>> + ConcurrentJITLock m_lock; >> >> Why put the lock in the middle instead of in the public declarations above? > > They fit into 32-bits this way. This won't matter for 64 bit paltforms, but will save 32-bits in TypeSet size for 32-bit platforms. > I guess I could reorder the fields like so to prevent the private/public break: > ``` > public: > ... methods and such > ... > Lock m_lock; > private: > bool m_isOverflown; > RuntimeTypeMask ... > .... > ```
I'll go with this reordering.
Saam Barati
Comment 7
2016-06-22 16:57:52 PDT
Created
attachment 281886
[details]
patch for landing
WebKit Commit Bot
Comment 8
2016-06-22 16:59:22 PDT
Attachment 281886
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/TypeSet.cpp:52: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Saam Barati
Comment 9
2016-06-22 17:46:14 PDT
Created
attachment 281890
[details]
patch for landing that builds
WebKit Commit Bot
Comment 10
2016-06-22 17:47:54 PDT
Attachment 281890
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/TypeSet.cpp:52: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 11
2016-06-22 20:24:31 PDT
Comment on
attachment 281890
[details]
patch for landing that builds Clearing flags on attachment: 281890 Committed
r202364
: <
http://trac.webkit.org/changeset/202364
>
WebKit Commit Bot
Comment 12
2016-06-22 20:24:37 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