Closed
Bug 661770
Opened 13 years ago
Closed 13 years ago
TM: inline Atomize into js_AtomizeChars
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: cdleary, Assigned: cdleary)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(3 files)
2.25 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
7.35 KB,
text/plain
|
Details | |
1.91 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
This Atomize interface is super hot through getTokenInternal, and valgrind likes the results on parsemark for x86.
Attachment #537104 -
Flags: review?(nnethercote)
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
I'm hoping to get this one as a ride-along, since I use it to measure the valgrind diff results. A bunch of things change about the parse routine for compile-and-go, one example being use of the globalMap to understand global index slots for property accesses. Since parsing content works this way, I think the shell should work this way as well. Maybe we could make it an option later if we find that necessary (and maybe let users pass a JSObject to use as a fake global?), but I think the default being compile and go is more reflective of what we'd like to optimize.
Attachment #537107 -
Flags: review?(nnethercote)
Comment 3•13 years ago
|
||
Comment on attachment 537104 [details] [diff] [review] Inline Atomize into js_AtomizeChars. Review of attachment 537104 [details] [diff] [review]: -----------------------------------------------------------------
Attachment #537104 -
Flags: review?(nnethercote) → review+
Comment 4•13 years ago
|
||
Comment on attachment 537107 [details] [diff] [review] Make shell's |compile| function compile-and-go. Review of attachment 537107 [details] [diff] [review]: ----------------------------------------------------------------- I don't understand compile-and-go well enough to review this. Maybe Luke can review?
Attachment #537107 -
Flags: review?(nnethercote) → review?(luke)
Assignee | ||
Updated•13 years ago
|
Attachment #537107 -
Flags: review?(luke) → review?(dvander)
Updated•13 years ago
|
Attachment #537107 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 5•13 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/eac7f013bacc http://hg.mozilla.org/tracemonkey/rev/3ab18e7ea3d5
Whiteboard: fixed-in-tracemonkey
Assignee | ||
Comment 6•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/eac7f013bacc http://hg.mozilla.org/mozilla-central/rev/3ab18e7ea3d5
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•