IonMonkey: delayed compilation

RESOLVED FIXED

Status

()

RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: bhackett, Assigned: dvander)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Code needs to warm up a little before TI can provide good information for property accesses etc. in a script.  IonMonkey should support delayed compilation in a similar manner to JM, though for now will only enter scripts at function entry rather than at loop heads.
Created attachment 556722 [details] [diff] [review]
patch

Introduces delayed compilation and --ion-eager to get around it.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attachment #556722 - Flags: review?(bhackett1024)
This potentially makes testing more annoying right now, since we'll have to type --ion-eager all the time, so if anyone would rather see --ion-lazy instead, let me know and I'll change it. (Though, in theory, we'd like to be testing with type inference which will need lazy compilation.)
(Reporter)

Updated

7 years ago
Attachment #556722 - Flags: review?(bhackett1024) → review+
http://hg.mozilla.org/projects/ionmonkey/rev/4ceb3e9961e4
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
This made a huge difference for JM's memory consumption, so it's good to see IonMonkey getting the same treatment.
You need to log in before you can comment on or make changes to this bug.