Bug 186811 - We shouldn't need to initialize subclasses of Arrays twice.
Summary: We shouldn't need to initialize subclasses of Arrays twice.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-19 12:06 PDT by Keith Miller
Modified: 2018-06-19 12:06 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Miller 2018-06-19 12:06:06 PDT
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.