- 13 Apr, 2012 4 commits
-
-
jkummerow@chromium.org authored
This fixes alignment issues on MIPS HW, found for example in mjsunit external-array. The issue originates from r11144 (86563c3e21) which adds a 4-byte header to these arrays. This causes problems on MIPS, where certain pointers need to be 8-byte aligned. BUG= TEST=mjsunit/external-array Review URL: https://chromiumcodereview.appspot.com/9956049 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11303 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
loislo@chromium.org authored
The idea is to monitor the heap regulary and track each object in the heap. With this data we will be able do draw heap usage diagram. Where X is time and Y is the number of objects. BUG=none TEST=HeapSnapshotObjectsStats Review URL: https://chromiumcodereview.appspot.com/10049002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11302 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10067032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11301 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
BUG=v8:1744, v8:539 Review URL: https://chromiumcodereview.appspot.com/10008082 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11300 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Apr, 2012 8 commits
-
-
vegorov@chromium.org authored
TBR=kmillikin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10067017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11299 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
R=kmillikin@chromium.org BUG=chromium:119609 TEST=test/mjsunit/regress/regress-119609.js Review URL: https://chromiumcodereview.appspot.com/10010046 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11298 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jkummerow@chromium.org authored
R=danno@chromium.org BUG=122271 TEST=mjsunit/regress/regress-crbug-122271 Review URL: https://chromiumcodereview.appspot.com/10038010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11286 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erikcorry authored
case. Review URL: http://codereview.chromium.org/10068010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11285 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This makes the test-alloc test case more robust against changes to the initial heap size. It correctly simulates a full space now instead of trying to fill the space up by allocating filler objects. R=svenpanne@chromium.org TEST=cctest/test-alloc Review URL: https://chromiumcodereview.appspot.com/10071003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11284 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
to the MIPS FPU even when cross-building the snapshot. This is based on code from Daniel Kalmar from http://codereview.chromium.org/9910029/ Review URL: https://chromiumcodereview.appspot.com/10068006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11283 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Some GWT compiled code results in array access that has a heap number (e.g. -0) as an index. Until now this would result in a generic IC. For example: a[-0] === a[0] or a[0.25 * 4] === a[1] This change detects heap numbers that are representable as a smi and converts them. As a result we can still use the fast keyed monomorphic ICs. Optimized code already handles keyed access with a double-key efficiently. As a result the frame rate on the reported benchmark improves by roughly 2x. BUG=v8:1388,v8:1295 Review URL: https://chromiumcodereview.appspot.com/9837109 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11282 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Port regexp microoptimizations to MIPS. Also fix some formatting. This includes http://codereview.chromium.org/9965107/ from Daniel Kalmar git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11281 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Apr, 2012 12 commits
-
-
mstarzinger@chromium.org authored
TBR=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/9969156 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11280 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This fixes processing of WeakMaps so that keys on evacuation candidates which are also reachable by other strong paths are correctly recorded in the slots buffer. Also backing stores that reside in the large-object-space now use the correct anchor slot. R=vegorov@chromium.org BUG=v8:2060 TEST=cctest/test-weakmaps/Regress2060b Review URL: https://chromiumcodereview.appspot.com/10034018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11279 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
- if value is a result of integer32 to double conversion (can't be NaN); - if value was loaded from fast double backing store (already canonicalized). R=danno@chromium.org Review URL: https://chromiumcodereview.appspot.com/10054009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11278 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erikcorry authored
Review URL: http://codereview.chromium.org/10050013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11275 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
vegorov@chromium.org authored
When pushing arguments use correct initial values instead of fetching them from the environment which can be modified. R=fschneider@chromium.org TEST=test/mjsunit/compiler/inline-arguments.js Review URL: https://chromiumcodereview.appspot.com/10033028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11274 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
R=danno@chromium.org Review URL: https://chromiumcodereview.appspot.com/10053011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11273 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This change allows hydrogen instructions to keep track of instructions that dominate certain side-effects (GVN flags) in the hydrogen graph. We use the GVN pass to keep track of side-effects because accurate flags are already in place. It also adds a new side-effect (kChangesNewSpacePromotion) indicating whether an instruction can cause a GC and have objects be promoted to old-space. An object allocated in new-space is sure to stay on paths not having said side-effect. R=erik.corry@gmail.com TEST=mjsunit/compiler/inline-construct Review URL: https://chromiumcodereview.appspot.com/10031031 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11270 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/10034014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11269 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/10053009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11268 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
64 bit architectures. Review URL: https://chromiumcodereview.appspot.com/10020032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11265 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This fixes processing of WeakMaps so that value entries on an evacuation candidate are correctly recorded in the slots buffer. We didn't pass the correct slot into the backing hashtable while visiting values. Also the live bytes counter for large object space pages was not reset correctly when incremental marking is aborted. R=vegorov@chromium.org BUG=v8:2060 TEST=cctest/test-weakmaps/Regress2060 Review URL: https://chromiumcodereview.appspot.com/10034010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11264 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
loislo@chromium.org authored
This will give us the ability to keep entries_ list sorted by id. And based on that fact we will be able to use it for: 1) GetNodeById method and drop sorted version of entries list in HeapSnapshot; 2) building heap stats; 3) doing the fill stage instead of second iteration over heap. BUG=none TEST=none R=yurys Review URL: https://chromiumcodereview.appspot.com/10031032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11259 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Apr, 2012 6 commits
-
-
vegorov@chromium.org authored
Environment structure for such calls is different from normal global calls. R=fschneider@chromium.org BUG=chromium:122681 Review URL: https://chromiumcodereview.appspot.com/10024060 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11256 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
We use fstp(0) already in other places. ffree does not pop the stack, but only marks a FP register as empty. BUG=v8:2065 Review URL: https://chromiumcodereview.appspot.com/9960066 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11255 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10006032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11252 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
kmillikin@chromium.org authored
The heap profile generator assumes that for named function expressions, the name is context allocated. This is not necessary true. BUG=v8:2051 TEST=WebKit layout test inspector/profiler/heap-snapshot-inspect-dom-wrapper.html Review URL: https://chromiumcodereview.appspot.com/9960065 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11251 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
fschneider@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10024057 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11250 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erikcorry authored
global regexp after a call to String.prototype.replace with a function argument sets the last match info correctly. Bug=2058 Review URL: http://codereview.chromium.org/10029009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11249 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Apr, 2012 2 commits
-
-
alexeif@chromium.org authored
This reverts commit 6e46549d13df2b211ea9b4fac9c09fe5013ec465. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10025014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11248 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
alexeif@chromium.org authored
Review URL: https://chromiumcodereview.appspot.com/10007009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11247 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Apr, 2012 2 commits
-
-
yurys@chromium.org authored
TBR=mnaganov Review URL: https://chromiumcodereview.appspot.com/10012040 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11246 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
We can avoid putting all nodes into a hash map from HeapEntry to ID and sorting that map as the nodes are already stored in right order in HeapSnapshot::entries_ list. Review URL: https://chromiumcodereview.appspot.com/10012013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11245 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Apr, 2012 6 commits
-
-
mstarzinger@chromium.org authored
R=ulan@chromium.org TEST=cctest/test-heap/OptimizedAllocationAlwaysInNewSpace Review URL: https://chromiumcodereview.appspot.com/10010010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11244 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mstarzinger@chromium.org authored
This is needed so that we can start removing write-barriers in optimized code if we can prove that the receiver object is always in new-space. TEST=cctest/test-heap/OptimizedAllocationAlwaysInNewSpace Review URL: https://chromiumcodereview.appspot.com/10008007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11243 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
This allows compilation of V8 using uClibc. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9702067 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
Port r11010 (1daa81bc). MIPS-specific changes: -register codes and registers are defined using a macro to avoid redundancy -renamed s8_fp to fp, removed the "fp" alias -removed kSavedValueRegister (found by check-static-initializers.sh) Original commit message: Landing for pliard@chromium.org: Remove static initializers in v8. This change includes two CLs by pliard@chromium.org: 1. http://codereview.chromium.org/9447052/ (Add CallOnce() and simple LazyInstance implementation): Note that this implementation of LazyInstance does not handle global destructors (i.e. the lazy instances a This CL was initially reviewed on codereview.appspot.com: http://codereview.appspot.com/5687064/ 2. http://codereview.chromium.org/9455088/ (Remove static initializers in v8): This CL depends on CL 9447052 (adding CallOnce and LazyInstance). It is based on a patch sent by Digit. With this patch applied, we have only one static initializer left (in atomicops_internals_x86_gcc.cc). This This CL also modifies the presubmit script to check the number of static initializers. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9689069 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11241 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
The template system converts the actual struct type to an array of chars. Make sure the alignment is kept by the compiler. This fixes a lot of serialization-related HW tests, for example cctest test-serialize/Serialize. BUG= TEST=cctest test-serialize Review URL: https://chromiumcodereview.appspot.com/9702114 Patch from Daniel Kalmar <kalmard@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11240 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
BUG=118686 Review URL: https://chromiumcodereview.appspot.com/9976003 Patch from Philippe Liard <pliard@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11239 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-