Closed
Bug 488458
Opened 16 years ago
Closed 7 years ago
avoiding slot update after a getter call in js_NativeGet
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: igor, Unassigned)
References
Details
Currently js_NativeGet from js/src/jsobj.cpp locks the object after executing the getter to set property's slot with the getter's result (when the getter is non-shared). For API compatibility this is done even when the getter comes from the prototype with the result stored also in the prototype.
We should consider removing this compatibility feature (which is a known source of unexpected leaks) and optimize away the need for double-locking.
| Reporter | ||
Updated•16 years ago
|
Group: core-security
CC list accessible: false
Not accessible to reporter
Summary: js_FillPropertyCache is called with garbage-collected pobj → avoiding slot update after a getter call in js_NativeGet
| Reporter | ||
Comment 1•16 years ago
|
||
The changes from the bug 490666 allows to have simpler patch for this bug.
Depends on: 490666
| Reporter | ||
Updated•13 years ago
|
Assignee: igor → general
| Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Comment 2•7 years ago
|
||
js_NativeGet is no longer present, therefore closing as INCOMPLETE.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•