Closed
Bug 1369111
Opened 7 years ago
Closed 7 years ago
Maintain a live set of active mscom interceptors
Categories
(Core :: Disability Access APIs, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
Details
Attachments
(1 file)
4.79 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
Sometimes we're creating interceptors for objects that are already wrapped because we don't currently have a way to check whether or not there is already an existing interceptor for that object. If we create a hash table that maps the target object pointer to a weak reference to its interceptor, we can then reuse the interceptor. This is better for perf and better for object identity correctness.
Assignee | ||
Comment 1•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=54089e7b57721084d5da093006a67ca277caae86
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8874901 -
Flags: review?(jmathies)
Updated•7 years ago
|
Attachment #8874901 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/780118d9c79c2a8e8f12724ac7d04b0170f330a7 Bug 1369111: Modify mscom interceptor to maintain a set of weak references to all interceptors that are currently live; r=jimm
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/780118d9c79c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•