Closed Bug 418239 Opened 18 years ago Closed 18 years ago

PROPERTY_CACHE_TEST doesn't hit for native prototype of non-native dense array

Categories

(Core :: JavaScript Engine, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9beta4

People

(Reporter: shaver, Assigned: brendan)

References

Details

Attachments

(1 file)

The property cache isn't used for non-native objects (after bug 417981 is fixed, especially), including cases in which a non-native object has a native prototype. This will be the most common array.method() case once bug 322889 lands, though I'm not sure it's otherwise common.
No longer depends on: 417981
Blocks: 417981
Assignee: general → brendan
Flags: blocking1.9+
Priority: -- → P2
Target Milestone: --- → mozilla1.9beta4
Calling this a bug, not an RFE. /be
Severity: enhancement → major
Status: NEW → ASSIGNED
I prefer to be very concrete at this stage, not try to abstract cacheability over various JSObjectOps impls. /be
Attachment #304156 - Flags: review?(shaver)
Summary: PROPERTY_CACHE_TEST doesn't hit for native prototypes of non-native objects → PROPERTY_CACHE_TEST doesn't hit for native prototype of non-native dense array
Comment on attachment 304156 [details] [diff] [review] this should do it So simple! r=shaver conditional on the suite and clean mochis/make-check.
Attachment #304156 - Flags: review?(shaver) → review+
Comment on attachment 304156 [details] [diff] [review] this should do it Passes js testsuite and mochitests. /be
Attachment #304156 - Flags: approval1.9+
Fixed: js/src/jsarray.c 3.158 js/src/jsarray.h 3.24 js/src/jsinterp.c 3.434 /be
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Depends on: 418540
Flags: in-testsuite+
Flags: in-litmus-
Flags: in-testsuite+ → in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: