Closed
Bug 1131429
Opened 9 years ago
Closed 9 years ago
Add a shell function to dump all of a function's tracked optimizations
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: shu, Unassigned)
Details
Attachments
(1 file)
17.42 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
Add a trackedOpts(fun) to return an object describing the tracked optimizations of fun, if any. If fun isn't scripted or hasn't been compiled by Ion, return null.
Reporter | ||
Comment 1•9 years ago
|
||
Jason had mentioned wanting this. Small test case: enableSPSProfiling(); function f(o) { for (var i = 0; i < 10000; i++) o.p++; } var o = {p: 0}; f(o); dis(f); // To match offsets to bytecode. print(JSON.stringify(trackedOpts(f), undefined, 2));
Attachment #8561839 -
Flags: review?(kvijayan)
Attachment #8561839 -
Flags: feedback?(jorendorff)
Updated•9 years ago
|
Attachment #8561839 -
Flags: review?(kvijayan) → review+
Comment 2•9 years ago
|
||
sorry had to back this out in https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=63c2c0fe808e since one of this changes caused hazard failures like: https://treeherder.mozilla.org/logviewer.html#?job_id=6873524&repo=mozilla-inbound harzard files are in https://ftp-ssl.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-inbound-linux64-b2g-haz/20150222200529/
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/369435bc4623
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8561839 [details] [diff] [review] Add a shell function to dump all of a function's tracked optimizations. Review of attachment 8561839 [details] [diff] [review]: ----------------------------------------------------------------- Already landed, whether jorendorff likes it or not!
Attachment #8561839 -
Flags: feedback?(jorendorff)
You need to log in
before you can comment on or make changes to this bug.
Description
•