Project: v8 Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Issue 120 Use inner global object for function lookup
Starred by 2 users Reported by feng@chromium.org, Oct 21 2008 Back to list
Status: Fixed
Owner:
User never visited
Closed: Oct 2008
HW: ----
OS: ----
Priority: 2
Type: Bug



Sign in to add a comment
codegen-ia32.cc: VisitCall, for case 'foo(1,2,3)', the global proxy object 
is used as receiver for both method lookup and invocation. This has 
performance overhead because method lookup on the proxy object needs 
security checks.

This can be improved by using the JSGlobalObject for method lookup, and 
pass JSGlobalProxy as 'this' to invocation.


 
There's also a 10-15% performance regression on function call intensive benchmarks, 
because of the indirect way we load the global receiver before calling functions (the 
split window change added one extra level of indirection). This should be resolved 
too.
Comment 2 by feng@chromium.org, Oct 23 2008
Status: Fixed
Fixed on bleeding_edge branch in revision 607.
Labels: Priority-2
Sign in to add a comment