Bug 186811
| Summary: | We shouldn't need to initialize subclasses of Arrays twice. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Keith Miller <keith_miller> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Keith Miller
We initialize subclasses of Array because we might need to allocate a new structure to change indexing types during initialization. If this triggered a GC then we might scan our currently uninitialized array and crash. If we had a GCDeferralContext then we could avoid this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |