Closed Bug 658623 Opened 8 years ago Closed 8 years ago

TI: release GC lock before calling JS_ClearAllWatchPoints

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

js_DestroyContext acquires the GC lock before printing types, but we need to release it sooner to prevent a deadlock. JS_ClearAllWatchPoints can allocate shapes, needs the lock etc.

This is causing "make check" failures.
Attached patch PatchSplinter Review
Attachment #534059 - Flags: review?(bhackett1024)
Attachment #534059 - Flags: review?(bhackett1024) → review+
http://hg.mozilla.org/projects/jaegermonkey/rev/f96d9ed26fc8

Hopefully this is enough to fix |make check|.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.