Open Bug 890944 Opened 12 years ago Updated 4 months ago

GenerationalGC: IonMonkey: NewObject should nursery-allocate dynamic slots

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: jandem, Unassigned)

References

(Blocks 1 open bug)

Details

Similar to bug 890937 and bug 890943.
I think with bug 969012, we now just have to change MNewObject::shouldUseVM and remove the !templateObject()->hasDynamicSlots() check.
(In reply to Tom Schuster [:evilpie] from comment #1) > I think with bug 969012, we now just have to change MNewObject::shouldUseVM > and remove the !templateObject()->hasDynamicSlots() check. needinfo? Terrence; this sounds like a potential easy perf win (also bug 890943).
Flags: needinfo?(terrence)
Oh, if only it were that simple. Since NewObject is only for {} literals, shouldUseVM is only called 238 times *total* on all of octane. Both conditions are always false. Something else higher up the stack is making sure that objects with dynamic slots never even make it to IonBuilder. I have no idea what.
Flags: needinfo?(terrence)
Assignee: general → nobody
Blocks: 1507445
Severity: normal → S3

Is this still relevant?

You need to log in before you can comment on or make changes to this bug.