Closed
Bug 785234
Opened 13 years ago
Closed 6 years ago
IonMonkey: Support IP => PC translation for profiling
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
INVALID
People
(Reporter: u443197, Assigned: u443197)
References
(Blocks 1 open bug)
Details
(Whiteboard: [ion:t])
Attachments
(2 files, 2 obsolete files)
25.05 KB,
patch
|
Details | Diff | Splinter Review | |
28.81 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.14 Safari/537.4
This was done in part 4 of bug 778979 for JaegerMonkey
Comment 2•13 years ago
|
||
For IonMonkey, you can have a look at bug 728045 attachment 601889 [details] [diff] [review], which was made to solve GetPCScript issues by mapping IP -> PC & script in an Ion Script.
The memory impact of markSafepoint location was not big enough to justify using this CompactMap class, but profiling will register one IP -> PC per instruction, which is likely to consume way more memory.
Rough idea, will work on more tomorrow and actually comment things so there's hope of someone else being able to read this.
Assignee: general → alex
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #654892 -
Attachment is obsolete: true
Attachment #655235 -
Flags: review?(dvander)
Attachment #655236 -
Flags: review?(dvander)
![]() |
||
Updated•13 years ago
|
Whiteboard: [ion:t]
Comment on attachment 655235 [details] [diff] [review]
Part 1 - Remove trackedPc and use MIR nodes to track it instead
Sorry for the late review, and thanks for doing this! This approach looks a lot cleaner.
Attachment #655235 -
Flags: review?(dvander) → review+
Attachment #655235 -
Attachment is obsolete: true
Attachment #700665 -
Flags: review+
![]() |
||
Updated•12 years ago
|
Attachment #655236 -
Flags: review?(dvander)
Jan, this might still be relevant, it's a nice clean-up to MIR and makes profiler support a lot more flexible.
Comment 9•9 years ago
|
||
Kannan, are the patches here still relevant or did your work obsolete them completely?
Flags: needinfo?(kvijayan)
Comment 10•6 years ago
|
||
Obsolete
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(kvijayan)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•