WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
221166
Make check for full HashTables opt-in
https://bugs.webkit.org/show_bug.cgi?id=221166
Summary
Make check for full HashTables opt-in
Tadeu Zagallo
Reported
2021-01-29 16:18:12 PST
It's too expensive to always perform the check
Attachments
Patch
(71.30 KB, patch)
2021-01-29 16:24 PST
,
Tadeu Zagallo
no flags
Details
Formatted Diff
Diff
Patch for landing
(6.14 KB, patch)
2021-01-29 17:25 PST
,
Tadeu Zagallo
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Tadeu Zagallo
Comment 1
2021-01-29 16:19:48 PST
<
rdar://problem/70902458
>
Tadeu Zagallo
Comment 2
2021-01-29 16:24:31 PST
Created
attachment 418786
[details]
Patch
Saam Barati
Comment 3
2021-01-29 16:26:54 PST
Comment on
attachment 418786
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=418786&action=review
> Source/WTF/ChangeLog:9 > + Having the check always on was a regression on Speedometer2.
you should say what you did, e.g, opt in metaallocator
Yusuke Suzuki
Comment 4
2021-01-29 16:27:50 PST
Comment on
attachment 418786
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=418786&action=review
r=me too with one comment.
> Source/WTF/wtf/MetaAllocator.h:197 > + HashMap<FreeSpacePtr, FreeSpaceNode*, DefaultHash<FreeSpacePtr>, HashTraits<FreeSpacePtr>, HashTraits<FreeSpaceNode*>, true> m_freeSpaceStartAddressMap; > + HashMap<FreeSpacePtr, FreeSpaceNode*, DefaultHash<FreeSpacePtr>, HashTraits<FreeSpacePtr>, HashTraits<FreeSpaceNode*>, true> m_freeSpaceEndAddressMap;
Some enum would be better for readability, like, enum class HashTableHardeningMode : uint8_t { None, AssertNotFull, }; And HashMap<FreeSpacePtr, FreeSpaceNode*, DefaultHash<FreeSpacePtr>, HashTraits<FreeSpacePtr>, HashTraits<FreeSpaceNode*>, HashTableHardeningMode:: AssertNotFull>
Tadeu Zagallo
Comment 5
2021-01-29 17:25:34 PST
Created
attachment 418793
[details]
Patch for landing
EWS
Comment 6
2021-01-29 18:17:02 PST
Committed
r272095
: <
https://trac.webkit.org/changeset/272095
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 418793
[details]
.
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