Closed Bug 820871 Opened 12 years ago Closed 12 years ago

GC: Validate gray marking

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

Currently gray marking is not validated along with black marking.  It would be nice if this happened too, if it's possible to do this without introducing test failures.
Assignee: general → jcoppeard
Attached patch Proposed fixSplinter Review
Proposed fix.

Try build of this is actually looking good so far:

https://tbpl.mozilla.org/?tree=Try&rev=f641e9cc5f83
Attachment #691363 - Flags: review?(wmccloskey)
Comment on attachment 691363 [details] [diff] [review]
Proposed fix

Review of attachment 691363 [details] [diff] [review]:
-----------------------------------------------------------------

Excellent!

::: js/src/jsgc.cpp
@@ +2716,5 @@
>  {
>      MarkWeakReferences<GCCompartmentGroupIter>(rt, phase);
>  }
>  
> +template <class CompartmentIter>

Again, can you call this CompartmentIterT?
Attachment #691363 - Flags: review?(wmccloskey) → review+
https://hg.mozilla.org/mozilla-central/rev/34840088cc10
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: