Bug 175248 - Considering abstracting gigacages more rigorously
Summary: Considering abstracting gigacages more rigorously
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-06 11:38 PDT by Filip Pizlo
Modified: 2017-08-06 11:38 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 Filip Pizlo 2017-08-06 11:38:32 PDT
You can imagine adding a constant somewhere like:

constexpr Gigacage::Kind TypedArrayGigacageKind = Gigacage::Primitive;

And similarly for other things.  I didn't do it that way because I find it useful to see that typed arrays use the primitive gigacage inline in the code, since this is a fundamental assumption.  But, maybe others feel differently.