Closed Bug 1369536 Opened 8 years ago Closed 8 years ago

Manually manage the js::vtune::VTuneMutex lifetime

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

References

Details

Attachments

(1 file)

We shouldn't be using types with constructors and/or destructors as static variables because the time of construction/destruction is hard to determine, which leads to bugs. Instead, we should manage these things manually from JS_Init and JS_Shutdown.
Assignee: nobody → nfitzgerald
Attachment #8873631 - Flags: review?(jcoppeard) → review+
Pushed by nfitzgerald@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9d0d6d7cf7c1 Manually manage the js::vtune::VTuneMutex lifetime; r=jonco
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: