Closed
Bug 1627216
Opened 5 years ago
Closed 5 years ago
WarpBuilder: add some logging
Categories
(Core :: JavaScript Engine: JIT, task, P2)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
We should at least log (a) the scripts we're processing in WarpOracle and (b) the resulting WarpSnapshot. This can probably just use the JIT spew mechanism for now, but later on we could add a structured spewer as well.
Updated•5 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•5 years ago
|
||
Adds code to log the scripts we're compiling. Also, with IONFLAGS=warp-snapshots
we now dump the contents of the WarpSnapshot at the end of the WarpOracle phase.
This will probably become more useful once we have CacheIR snapshots.
This also removes the CFG spew channel, it has been unused since bug 1595476.
Assignee | ||
Comment 2•5 years ago
|
||
Example warp-snapshots
output:
WarpSnapshot (0x7ff27483a410)
------------------------------
globalLexicalEnv: 0x2e8060780040
globalLexicalEnvThis: 0xfffe2e8060780070
Script: self-hosted:200:18 (0x2e80607a26f0)
moduleObject: 0x0
isArrowFunction: 0
environment: Function: callobject template 0x2e806078a280, named lambda template: 0x0
WarpGetIntrinsic (offset 9, JSOp::GetIntrinsic)
intrinsic: 0xfff9800000000000
WarpGetIntrinsic (offset 65, JSOp::GetIntrinsic)
intrinsic: 0xfffe2e80607a79c0
WarpGetIntrinsic (offset 83, JSOp::GetIntrinsic)
intrinsic: 0xfffe2e80607a7a00
WarpLambda (offset 177, JSOp::Lambda)
baseScript: 0x2e80607a2740
flags: 0xa38
nargs: 2
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b94d7d99dad2
Add some logging to WarpOracle. r=iain
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•