Closed Bug 1165912 Opened 10 years ago Closed 9 years ago

Potential parallel accesses to ionLazyLinkList.

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: nbp, Assigned: nbp)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Comment on attachment 8607040 [details] [diff] [review] Prevent parallel mutations to HelperThread().ionLazyLinkList(). Review of attachment 8607040 [details] [diff] [review]: ----------------------------------------------------------------- Review comments on irc
Attachment #8607040 - Flags: review?(hv1989)
(In reply to Hannes Verschore [:h4writer] from comment #2) > Review comments on irc summary: The list in which IonBuilder instances are stored in, is only manipulated on the main thread, even if it is stored as part of the helper thread state. So, there is no need to lock the helper thread to append/remove elements from this list. Instead of this patch, we can assert that ionLazyLinkList() is only used on the main thread, and that IonBuilder instances are in this list before being removed. http://logs.glob.uno/?c=mozilla%23ionmonkey&s=19+May+2015&e=20+May+2015#c109408
Attachment #8607040 - Attachment is obsolete: true
Attachment #8612272 - Flags: review?(hv1989) → review+
Status: NEW → RESOLVED
Closed: 9 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: