Open Bug 1483345 Opened 5 years ago Updated 1 year ago
Try and re-attach New
Object stubs after GC
In Bug 1480524, Comment 16 it's pointed out that the design of the NewObject stub is such that if the GC discards the cache stubs, we subsequently will never try to attach a new stub because we'll still have a template around.
Might be an easy fix for a minor QF win. Baseline optimizations of new Objects may stop working under certain GC timings. In profiles we'd be looking for DoNewObject (which should have been called DoNewObjectFallback like the rest of the IC fallbacks).
Some nits to fix at the same time: - s/DoNewObject/DoNewObjectWithTemplate - Remove unused NewObject_WithTemplate
Performance Impact: --- → P2
You need to log in before you can comment on or make changes to this bug.