Closed Bug 1170717 Opened 10 years ago Closed 10 years ago

Don't dynamically check the heapState in gray barrier

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: terrence, Assigned: terrence)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Now that we disable barriers using heapState, the isHeapBusy check in the gray barrier should a dupe.
Attachment #8614244 - Flags: review?(continuation)
Try run is at: https://treeherder.mozilla.org/#/jobs?repo=try&revision=590ca54a2875 I give this 50/50 on going spectacularly poorly. Will depend if I missed any obvious entry points to the gray barrier.
Comment on attachment 8614244 [details] [diff] [review] no_need_for_dynamic_check_for_isheapbusy_in_gray_barriers-v0.diff Review of attachment 8614244 [details] [diff] [review]: ----------------------------------------------------------------- I don't know anything about that part of the code, sorry.
Attachment #8614244 - Flags: review?(continuation) → review?(jcoppeard)
Comment on attachment 8614244 [details] [diff] [review] no_need_for_dynamic_check_for_isheapbusy_in_gray_barriers-v0.diff Yup, that went quite poorly.
Attachment #8614244 - Flags: review?(jcoppeard)
New try run is green. https://treeherder.mozilla.org/#/jobs?repo=try&revision=dc1c41a4c6f8 I was thinking of the pre-barrier -- the read barrier did not check the heapState before. I do think it should though and try does seem to be fine with the change.
Attachment #8614244 - Attachment is obsolete: true
Attachment #8614785 - Flags: review?(jcoppeard)
Comment on attachment 8614785 [details] [diff] [review] no_need_for_dynamic_check_for_isheapbusy_in_gray_barriers-v1.diff Review of attachment 8614785 [details] [diff] [review]: ----------------------------------------------------------------- LGTM.
Attachment #8614785 - Flags: review?(jcoppeard) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: