Closed
Bug 415566
Opened 16 years ago
Closed 2 years ago
Use new NSPR atomic macros - general
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: swsnyder, Unassigned)
References
Details
(Keywords: perf)
Attachments
(1 file, 2 obsolete files)
46.60 KB,
patch
|
Details | Diff | Splinter Review |
Use the recently-added NSPR atomic Increment/Decrement/Set/Add macros rather than function calls in existing code. The goal is to improve general performance by moving those atomic operations to inline code. The inline code is much faster than the function calls at the cost of increasing the code size by about 8 bytes per use. For platforms that do not support the use of inline atomic operations, the original function calls are used, making this patch a no-op.
Reporter | ||
Comment 1•16 years ago
|
||
Marked as dependant on bug 415563 because that patch adds MSVC-compatible casting of parameters to atomic intrinsic functions.
Reporter | ||
Comment 2•16 years ago
|
||
Original patch was a little too general. Removed Python and JavaScript subsystems.
Attachment #301305 -
Attachment is obsolete: true
Reporter | ||
Updated•16 years ago
|
Assignee: swsnyder → nobody
Product: Mozilla Application Suite → Core
QA Contact: general → general
Reporter | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•16 years ago
|
||
Assignee: nobody → swsnyder
Attachment #301308 -
Attachment is obsolete: true
Comment 4•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:overholt, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: swsnyder → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(overholt)
Comment 5•2 years ago
|
||
Probably at this point we don't want to use NSPR if possible...
Status: NEW → RESOLVED
Closed: 2 years ago
Component: General → XPCOM
Flags: needinfo?(overholt)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•