Closed Bug 785234 Opened 13 years ago Closed 6 years ago

IonMonkey: Support IP => PC translation for profiling

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: u443197, Assigned: u443197)

References

(Blocks 1 open bug)

Details

(Whiteboard: [ion:t])

Attachments

(2 files, 2 obsolete files)

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
Blocks: sm-profiler
Depends on: 781979
OS: Mac OS X → All
Hardware: x86 → All
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.
Attached patch patch (obsolete) — Splinter Review
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)
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+
Jan, this might still be relevant, it's a nice clean-up to MIR and makes profiler support a lot more flexible.
Kannan, are the patches here still relevant or did your work obsolete them completely?
Flags: needinfo?(kvijayan)

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.

Attachment

General

Creator:
Created:
Updated:
Size: