Closed
Bug 1161353
Opened 10 years ago
Closed 10 years ago
Remove the post-barrier verifier
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox40 | --- | affected |
People
(Reporter: terrence, Assigned: terrence)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
23.08 KB,
patch
|
sfink
:
review+
gkw
:
feedback+
|
Details | Diff | Splinter Review |
6.98 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
It hasn't caught anything in almost 2 years, it requires an annoying amount of code outside Verifiers.cpp, and it's going to be highly annoying to continue supporting it once we move nursery marking off the callback tracer.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8601697 -
Flags: review?(sphink)
Attachment #8601697 -
Flags: feedback?(gary)
Attachment #8601697 -
Flags: feedback?(choller)
Assignee | ||
Comment 2•10 years ago
|
||
Note: this is JS_GC_ZEAL=11 and 12.
Comment 3•10 years ago
|
||
Comment on attachment 8601697 [details] [diff] [review]
remove_postbarrier_verifier-v0.diff
Review of attachment 8601697 [details] [diff] [review]:
-----------------------------------------------------------------
Ooh! I bet this eliminates the one horrible nasty special case thing I had to do for gc::Statistics!
::: js/src/gc/GCInternals.h
@@ -126,3 @@
>
> if (outer != gcstats::PHASE_NONE)
> gc->stats.beginPhase(outer);
The gc->stats.endPhase and gc->stats.beginPhase are the things that might be able to go now, but maybe they're still needed for the prebarrier verifier? Not sure.
Not for this patch, anyway. But if it could go, then it would also eliminate some awkward phase tracking (saving/restoring). I'll have to take a look after this lands.
Attachment #8601697 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment on attachment 8601697 [details] [diff] [review]
remove_postbarrier_verifier-v0.diff
Didn't find anything terrible overnight yet.
Attachment #8601697 -
Flags: feedback?(gary) → feedback+
Assignee | ||
Comment 7•10 years ago
|
||
Thanks Gary!
Comment 8•10 years ago
|
||
Remove some more vestiges of the post barrier verifier.
Attachment #8602670 -
Flags: review?(terrence)
Updated•10 years ago
|
Keywords: leave-open
Comment 9•10 years ago
|
||
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8602670 [details] [diff] [review]
remove-more-post-barrier-verifier
Review of attachment 8602670 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks! I have about half of these sitting in a patch. I still didn't remove verifyPostData though: can't believe I missed that.
Attachment #8602670 -
Flags: review?(terrence) → review+
Comment 11•10 years ago
|
||
Updated•10 years ago
|
Assignee | ||
Updated•9 years ago
|
Attachment #8601697 -
Flags: feedback?(choller)
You need to log in
before you can comment on or make changes to this bug.
Description
•