Closed Bug 1131407 Opened 10 years ago Closed 10 years ago

Use threadsafe refcounting for nsProfileBuffer

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1130021

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
nsProfileBuffers can be released on a different thread than they're allocated: The main thread allocates a SyncProfile with the included nsProfileBuffer, puts it into a marker, and the sampler thread later releases the marker and the buffer.
Attachment #8561794 - Flags: review?(bgirard)
Attachment #8561794 - Flags: review?(bgirard) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: