Reviewers: Sven Panne,
Message:
I've updated this CL with a simpler approach. As far as I can tell, we
don't
need to create these VMState objects at all.
Description:
Remove atomic increment/decrement on each DOM call
This patch introduces a new VM tag for callbacks into the embedder. We use
this
new tag to distinguish between calling interceptor callbacks and other ways
of
exiting the VM. When we call an interceptor callback, we don't need to
ratelimit the profiler (because the vast majority of interceptor callbacks
are
quick), and therefore we can avoid the atomic operations.
This change removes a function that accounts for 7% of Dromeo's dom-traverse
profile.
Please review this at https://codereview.chromium.org/11361275/
SVN Base: git://github.com/v8/v8.git@bleeding_edge
Affected files:
M src/objects.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev