Open Bug 1477056 Opened 6 years ago Updated 2 years ago

Re-evaluate the RuntimeCaches

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox63 --- affected

People

(Reporter: mgaudet, Unassigned)

References

Details

In RuntimeCaches [1] the engine has 5 different caches (6 before Bug 1469044).

In light of upcoming architectural changes to Firefox [2] it seems a worthwhile effort to re-evaluate the state of these caches to decide if they should remain.

    js::GSNCache 
    js::EnvironmentCoordinateNameCache
    js::NewObjectCache (See Bug 1245965) 
    js::UncompressedSourceCache
    js::EvalCache


[1]: https://searchfox.org/mozilla-central/search?q=symbol:T_js%3A%3ARuntimeCaches&redirect=false 
[2]: https://wiki.mozilla.org/Project_Fission
Ted and I took a cursory look: Initial thoughts went this way: 

- EvalCache seems like it can be replaced with a 1-entry IC chain for similar effect with greater simplicity
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.