WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
180634
Harden a few assertions in GC sweep
https://bugs.webkit.org/show_bug.cgi?id=180634
Summary
Harden a few assertions in GC sweep
Filip Pizlo
Reported
2017-12-10 09:19:58 PST
Patch forthcoming.
Attachments
the patch
(1.46 KB, patch)
2017-12-10 09:21 PST
,
Filip Pizlo
saam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2017-12-10 09:21:27 PST
Created
attachment 328937
[details]
the patch
Saam Barati
Comment 2
2017-12-10 16:33:50 PST
Comment on
attachment 328937
[details]
the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=328937&action=review
> Source/JavaScriptCore/heap/MarkedBlock.cpp:405 > + RELEASE_ASSERT(!m_isFreeListed);
The old branch was never taken?
Filip Pizlo
Comment 3
2017-12-10 17:09:43 PST
(In reply to Saam Barati from
comment #2
)
> Comment on
attachment 328937
[details]
> the patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=328937&action=review
> > > Source/JavaScriptCore/heap/MarkedBlock.cpp:405 > > + RELEASE_ASSERT(!m_isFreeListed); > > The old branch was never taken?
Nope. It doesn't make sense that m_isFreeListed would be true, and if it was, simply returning couldn't possibly be the right thing to do. My best theory is this: this was landed originally in a patch where I had added that logic to support something else, and then removed that something else, but didn't remove the check.
Filip Pizlo
Comment 4
2017-12-10 17:10:51 PST
Landed in
https://trac.webkit.org/changeset/225734/webkit
Radar WebKit Bug Importer
Comment 5
2017-12-10 17:11:24 PST
<
rdar://problem/35958652
>
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