- 05 Jun, 2009 2 commits
-
-
kasperl@chromium.org authored
submitted in revisions 2093, 2094, 2099, and 2106. There's no evidence that supports that these changes should be the cause of the unexplained performance regressions on the intl2 and DHTML page cyclers. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2109 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kasperl@chromium.org authored
2106 to try to isolate a performance regression on the page cyclers. I'll roll the changes back in if this doesn't fix the regression. TBR=antonm@chromium.org Review URL: http://codereview.chromium.org/118302 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2108 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Jun, 2009 1 commit
-
-
antonm@chromium.org authored
The problem was I incorrectly treated NULL result as failure to fetch a property with a getter. However, if getter returns zero, it is manifested as NULL pointer (see added test case). Good news: that gives another boost as before this CL if getter returned 0, I did another slow lookup. Review URL: http://codereview.chromium.org/119172 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2106 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Jun, 2009 1 commit
-
-
antonm@chromium.org authored
immediately if holder has this property or saves binary search on holder if property doesn't belong to holder. Of course, in the cases when named getter returns nothing. That gives ~20% for dom benchmark/Document Object String Get, speeds up overall dom_perf (not dramatically) and overall score for peacekeeper. Strange, but DOM part of peacekeepr runs somewhat slower. Review URL: http://codereview.chromium.org/118118 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2093 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 25 May, 2009 2 commits
-
-
erik.corry@gmail.com authored
called from within a loop or not. In the past we lost the information if a call site went megamorphic before a lazily compiled callee was called for the first time. Now we track that correctly (this is an issue that affects richards). We still don't manage to track the in-loop state through a constructor call, since constructor calls use LoadICs instead of CallICs. This issue affects delta-blue. So in this patch we assume that lazy compilations that don't happen through a CallIC happen from inside a loop. I have an idea to fix this but this patch is big enough already. With our improved tracking of in-loop state I have switched off the inlining of in-object loads for code that is not in a loop. This benefits compile speed. One issue is that eagerly compiled code now doesn't get the in-object loads inlined. We need to eagerly compile less code to fix this. Review URL: http://codereview.chromium.org/115744 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2046 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
This issue was raised by Brett Wilson while reviewing my changelist for readability. Craig Silverstein (one of C++ SG maintainers) confirmed that we should declare one namespace per line. Our way of namespaces closing seems not violating style guides (there is no clear agreement on it), so I left it intact. Review URL: http://codereview.chromium.org/115756 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2038 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 May, 2009 1 commit
-
-
lrn@chromium.org authored
This allows test-heap to run successfully. Review URL: http://codereview.chromium.org/115706 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2034 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 May, 2009 1 commit
-
-
sgjesse@chromium.org authored
When loaded scripts are requested this cache is filled with all the script objects in the heap. Hereafter its content is kept in sync with the active scripts in the heap through the notifications of new scripts compiled and by using weak handles to get notified when a script is collected. Through the tracking of collected scripts the debugger event OnScriptCollected have been added to notify a debugger that a script previously returned through the scripts command is no longer in use. Make the ComputeIntegerHash globally available. Moved clearing of the mirror cache to when debugger is really left. Previously recursive invocations of the debugger cause the mirror cache to be cleared causing handles to become either stale or reference other objects. Review URL: http://codereview.chromium.org/115462 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1988 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 May, 2009 1 commit
-
-
kasperl@chromium.org authored
for dynamic variables (only do it for the scopes that need them). Review URL: http://codereview.chromium.org/113393 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1942 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 May, 2009 1 commit
-
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/113197 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1931 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 May, 2009 2 commits
-
-
iposva@chromium.org authored
- Move GetHiddenProperties functionality from object.cc to handle.cc to be more robust in the presence of GC in the middle of the function. Review URL: http://codereview.chromium.org/115267 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1924 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
lrn@chromium.org authored
Review URL: http://codereview.chromium.org/113199 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1913 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 May, 2009 1 commit
-
-
erik.corry@gmail.com authored
HasLocalProperty (bug introduced in r1882 et al.) Review URL: http://codereview.chromium.org/115106 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1903 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 May, 2009 2 commits
-
-
deanm@chromium.org authored
- TARGET, the architecture we will generate code for. This is brought it from the build system. - HOST, the architecture our C++ compiler is building for. This is detected automatically based on compiler defines. This adds macros for 32 or 64 bit, and cleans up some include conditionals, etc. Review URL: http://codereview.chromium.org/99355 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1864 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
http://crbug.com/9746ager@chromium.org authored
Review URL: http://codereview.chromium.org/109015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1860 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 May, 2009 1 commit
-
-
erik.corry@gmail.com authored
UC16 representation we need to be careful about flat strings. Flat strings can be sliced or cons strings that have a flat string under them, so when we ask a flat cons or a slice whether it is ASCII or not we should ask the underlying string about its representation. This should fix http://code.google.com/p/chromium/issues/detail?id=10971 Review URL: http://codereview.chromium.org/100249 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1830 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Apr, 2009 1 commit
-
-
lrn@chromium.org authored
Change handling of sorting to be the same for all JS-arrays. Collect undefined values as well while removing holes. Review URL: http://codereview.chromium.org/92123 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1800 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Apr, 2009 2 commits
-
-
christian.plesner.hansen@gmail.com authored
the properties as well. This fixes some failing tests. - Moved json parsing into native code. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1789 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
- Added lazily loaded JSON object. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Apr, 2009 1 commit
-
-
ager@chromium.org authored
hidden symbol is not an identifier. Make sure to keep objects fast case when adding hidden values if possible. Review URL: http://codereview.chromium.org/93004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1758 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Apr, 2009 2 commits
-
-
christian.plesner.hansen@gmail.com authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1753 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1751 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Apr, 2009 1 commit
-
-
feng@chromium.org authored
ENABLE_DEBUGGER_SUPPORT is enabled by default unless it is on Android platform. On Android platform, it can also enabled by passing -DENABLE_DEBUGGER_SUPPORT flag to the compiler. This should not affect any existing build (I hope, cross my fingers) except the build in real Android environment (in other word, it only affects me now). There are lot of room for code refactoring in stead of using #ifdef all over the place. I will leave this to v8 folks. Review URL: http://codereview.chromium.org/77035 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1745 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Apr, 2009 1 commit
-
-
ager@chromium.org authored
resource to NULL when removing it from the symbol table. This makes sure that the debugger can recognize the external string as being "deleted". Now, whenever an external resource is deleted, the resource pointer is set to NULL. This is really a workaround of a debugger problem. We need to make sure that the debugger only finds scripts in the heap that are actually live. Review URL: http://codereview.chromium.org/69029 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1734 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Apr, 2009 2 commits
-
-
ager@chromium.org authored
numerical order independently of the representation of the object. Exchanged the order of enumeration of integer and string keys so integer keys are first instead of string keys to better match WebKit/JSC behavior. Added test cases that document our enumeration order choice. Review URL: http://codereview.chromium.org/75035 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1722 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
Review URL: http://codereview.chromium.org/67211 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Apr, 2009 2 commits
-
-
kasperl@chromium.org authored
GCs (not just mark-compacts) and make the mark-compact shortcutting of cons-strings identical to the scavenge version. Review URL: http://codereview.chromium.org/67125 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1699 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
Currently function name inference is wired with AST optimization pass to avoid introducing another pass over AST. A better solution would be to rewrite AST visitors so they can be naturally combined together in a single pass, as their current implementation doesn't allow it. For examples of cases where function names can be inferred, see the tests file. Review URL: http://codereview.chromium.org/62146 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Apr, 2009 1 commit
-
-
http://crbug.com/9746iposva@chromium.org authored
- Added special cutouts if a Vector has NULL data, which will now happen if an external string's resource has been deleted. - Added an verification phase before old gen GC to verify that all real entries in the SymbolTable are valid symbols. - Added test that verifies the correct behaviour of the workaround. Review URL: http://codereview.chromium.org/66011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1689 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Apr, 2009 1 commit
-
-
whesse@chromium.org authored
Review URL: http://codereview.chromium.org/63010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1678 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Mar, 2009 1 commit
-
-
kmillikin@chromium.org authored
state EXTERNAL rather than OTHER. Review URL: http://codereview.chromium.org/55007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1632 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Mar, 2009 1 commit
-
-
lrn@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Mar, 2009 3 commits
-
-
ager@chromium.org authored
TBR=iposva Review URL: http://codereview.chromium.org/50026 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1551 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
iposva@chromium.org authored
- Use the hidden properties to expose a IdentityHash accessor. Review URL: http://codereview.chromium.org/50016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1550 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
when setting a __proto__ to an object that holds a setter. This seems to cause a major page load regression, so we need to tune the clearing. Review URL: http://codereview.chromium.org/50011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1548 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Mar, 2009 2 commits
-
-
erik.corry@gmail.com authored
Review URL: http://codereview.chromium.org/42276 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1522 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
to be error-prone and of little benefit in terms of performance. Review URL: http://codereview.chromium.org/45010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Mar, 2009 2 commits
-
-
christian.plesner.hansen@gmail.com authored
an object that holds a setter. If there are no store ics then no flushing is done. The implementation has been tweaked so that no ICs are cleared during normal context creation. This may cost us some performance but I'm submitting it as it is and if there are problems we can either decide to be smarter about when, what and/or how we clear, or back this change out altogether. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1509 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
olehougaard authored
Implementing __defineSetter__ and __defineGetter__ with an array index as argument as described in issue 242. For performance reasons, the change is not applied to arrays. This conforms to the behavior of Safari. Review URL: http://codereview.chromium.org/46030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1507 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Mar, 2009 1 commit
-
-
erik.corry@gmail.com authored
1418, and 1419 from bleeding_edge, reverted in 1429. * Fix of $1 accessor on sliced strings. * Fix of lastParen method when last parenthesis did not match. Review URL: http://codereview.chromium.org/43075 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1491 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-