summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Use kernel cacheflush for large sizes on MIPS.Paul Lind2013-05-071-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a workaround to a deserializer bug. The bug was exposed with a recent optimization to use user-mode cache-flushing on MIPS. To reduce risk, we're doing a workaround in mips-specific code so that other arch's cannot be affected. The deserializer does this FlushICache: CPU::FlushICache(last_object_address_, Page::kPageSize); However, that region includes OS guard-pages with no access privilege. The MIPS kernel cacheflush routines work OK in this case, but the Bionic cacheflush recently enabled user-mode flushing using the synci instruction, which causes a segfault on MIPS when the guard pages are reached. (change I48fd6f2b0cbe80c3cd90f453ced97a2f154f7ad3) The workaround just reverts to the kernel flush when the size is Page::kPageSize or bigger. A better fix would be to alter the deserializer so that only the executable pages are flushed: CPU::FlushICache(last_object_address_, isolate_->memory_allocator()->CodePageAreaSize()); However, that changes common code for all supported architectures. There is no evidence that this bug affects the other arch's, so we are doing a MIPS-specific workaround. (cherry-pick from AOSP) bug: 8851838 Change-Id: I30b62eb579feab1453d3ae85a5fb9b408f91756b Signed-off-by: Paul Lind <paul.lind@imgtec.com>
* Fix ARM hardfloat detection in linuxAndrew Hsieh2012-11-021-38/+33
| | | | | | | | | | | | | | | See http://code.google.com/p/v8/issues/detail?id=2140 https://chromiumcodereview.appspot.com/10713009 The original code fails to detect at run-time when compiled with GCC 4.7, because the undefined behavior of casting void to double, and the r0/r1 clobbered in assembly code isn't reaching the use when compared to 1.0 in VFP reg. In summary, the old code is incorrect and overkill, and the new code fix it. Change-Id: I6b63a4f9789e08089368e431a5553f482400725a
* Revert "Android ucontext refinements (upstream backport)".David 'Digit' Turner2012-10-171-32/+30
| | | | | | | | | This creates build breakages in the internal Android tree. Will investigate later. Original patch: https://android-review.googlesource.com/#/c/38852/ Change-Id: I902021fa56b959f1f035f4d448a43483328debd8
* Android ucontext refinements (upstream backport).David 'Digit' Turner2012-10-171-30/+32
| | | | | | | | | | | | | | | | | | | | This is a forward-compatible patch to avoid naming/type conflicts in the near future, when the Android C library will be updated to provide mcontext_t/ucontext_t properly. Note that this changes the naming convention used to access the register values from mcontext_t, to follow current ARM GLibc (this is also the convention being adopted by Android). + Android provides gettid() (all API levels) so use it instead of relying on syscall(). This is a backport of http://code.google.com/p/v8/source/detail?r=12250 See http://code.google.com/p/android/issues/detail?id=34784 for more context. Change-Id: Id1fe5489eea8a51d0210858bf91132191f967822
* Merge V8 at 3.9.24.30Ben Murdoch2012-06-082-8/+9
| | | | | Bug: 6605887 Change-Id: I10a55d1fc257903505a5c8a5933174e1d0fe6052
* Remove Android specific LUMP_OF_MEMORY.Ben Murdoch2012-06-071-4/+8
| | | | | | | | | | | The existing 128KB is too small - the default 1MB is more appropriate. This is being tracked in upstream CL http://codereview.chromium.org/10541053/ Bug: 6605887 Change-Id: Iae291aaeab1e7c48b2570ab246769bad391edf56
* Merge V8 at 3.9.24.29Ben Murdoch2012-05-245-6/+30
| | | | | Bug: 6552361 Change-Id: Ic75bc91849fed7b20846e9c10e2c1ffcc5239da5
* Merge V8 at 3.9.24.28Ben Murdoch2012-05-2115-455/+70
| | | | | Bug: 6519007 / 6517949 / 6518772 Change-Id: Idc3e1297aeafa0274fa9fc321e91b774091d1b50
* Merge V8 at 3.9.24.25Ben Murdoch2012-05-173-4/+3
| | | | | Bug: 6510301 Change-Id: I2e1efb9b3420fd4c72927c9948546e1de16865fc
* Merge V8 at 3.9.24.24Ben Murdoch2012-05-1610-47/+18
| | | | | Bug: 5688872 Change-Id: I2193f3dbd0d9137530174f65060d857b432a6abb
* Merge V8 at 3.9.24.21Ben Murdoch2012-05-0411-20/+73
| | | | | Bug: 5688872 Change-Id: I8c6370d6e881d372b602527bf6c02994e0165515
* Merge V8 at 3.9.24.17Ben Murdoch2012-04-2611-97/+143
| | | | | Bug: 5688872 Change-Id: I323fc8679f47b5f9e1539e9223c9da4b61a8947e
* Merge V8 at 3.9.24.15Ben Murdoch2012-04-2321-115/+211
| | | | | Bug: 5688872 Change-Id: Idd477521ab57b89f9c3200852b82af8e08aa2191
* Merge V8 at 3.9.24.13Ben Murdoch2012-04-16354-46756/+90309
| | | | | Bug: 5688872 Change-Id: Id0aa8d23375030494d3189c31774059c0f5398fc
* Roll V8 back to 3.6Ben Murdoch2012-04-11354-90175/+46851
| | | | | | | | | | | | Roll back to V8 3.6 to fix x86 build, we don't have ucontext.h. This reverts commits: 5d4cdbf7a67d3662fa0bee4efdb7edd8daec9b0b c7cc028aaeedbbfa11c11d0b7b243b3d9e837ed9 592a9fc1d8ea420377a2e7efd0600e20b058be2b Bug: 5688872 Change-Id: Ic961bb5e65b778e98bbfb71cce71d99fa949e995
* Merge V8 3.9 at 3.9.24.9Ben Murdoch2012-04-11253-12039/+24252
| | | | | | | http://v8.googlecode.com/svn/branches/3.9@11260 Bug: 5688872 Change-Id: Iddd944e82189d92df3fc427dc5f0d3f1b2f0c6c8
* Merge V8 at 3.8.9.11Ben Murdoch2012-04-11255-9019/+11523
| | | | | | Bug: 5688872 Change-Id: Ie3b1dd67a730ec5e82686b7b37dba26f6a9bb24f
* Merge V8 at 3.7.12.28Ben Murdoch2012-04-11284-31346/+59953
| | | | | | Bug: 5688872 Change-Id: Iddb40cae44d51a2b449f2858951e0472771f5981
* resolved conflicts for merge of f8d66dab to masterJean-Baptiste Queru2012-02-151-1/+2
|\ | | | | | | Change-Id: I66e6f68b1c5b5d1f0ad5347eabe8b99e6f9bad77
| * Enable x86 supportChih-Wei Huang2012-02-151-1/+2
| | | | | | | | Change-Id: I6009002b3b9fdb4cf9e07272be6918f19400e51f
* | Merge V8 at r10446: Roll to 3.6.6.19Ben Murdoch2012-01-2051-1145/+1086
| | | | | | | | | | Bug: 5688872 Change-Id: Ie6be41e043db4e38abeb6b8d92761d7cc2c294bf
* | Merge V8 at r10375: Roll to 3.6.6.17Ben Murdoch2012-01-1033-252/+409
| | | | | | | | | | Bug: 5688872 Change-Id: I558f9b89a15d2dcf1b62dcf9f297d4d42ca5830c
* | Upgrade to V8 3.6Ben Murdoch2011-12-02212-7252/+9035
| | | | | | | | | | | | | | | | | | Merge V8 at 3.6.6.11 Simple merge required updates to makefiles only. Bug: 5688872 Change-Id: Ib38b7ffbcd409585f6cb6fccc59c767029cecc77
* | Upgrade to V8 3.5Ben Murdoch2011-12-02184-5081/+8358
| | | | | | | | | | | | | | | | | | Merge V8 3.5.10.24 Simple merge required updates to makefiles only. Bug: 5688872 Change-Id: I0acdb9a1a53919d84e9a7525308e8371739d2f06
* | Upgrade to V8 3.4Ben Murdoch2011-12-02282-20306/+27278
| | | | | | | | | | | | | | | | | | Merge 3.4.14.35 Simple merge required updates to makefiles only. Bug: 568872 Change-Id: I403a38452c547e06fcfa951c12eca12a1bc40978
* | Upgrade to V8 3.3Ben Murdoch2011-12-02270-18852/+43040
|/ | | | | | | | | Merge V8 at 3.3.10.39 Simple merge required updates to makefiles only. Bug: 5688872 Change-Id: I14703f418235f5ce6013b9b3e2e502407a9f6dfd
* Merge V8 at r10110: Roll to 3.2.10.40Ben Murdoch2011-12-012-1/+7
| | | | | Bug: 5654713 Change-Id: I94eb0ed43c585bb042456cb60365e7d9f0f642e6
* Merge V8 at r9719: Roll to 3.2.10.39Ben Murdoch2011-10-204-10/+15
| | | | | Bug: 5483703 Change-Id: Idd0a6e0d51047cdd5a87eb745ca41e4994645ea2
* Merge V8 at r8988: Roll to 3.2.10.38Ben Murdoch2011-08-262-2/+2
| | | | | Bug: 5188807 Change-Id: Id08b2a350e03890f20ff215d45829ac4de3c44cd
* Merge V8 at r8928: Roll to 3.2.10.37Ben Murdoch2011-08-198-21/+66
| | | | | | Bug: 5188807 Change-Id: I0f1fc251f801b222d4dc1647d8a2ec0a8b0f8d83
* Merge V8 at r8836: Pick up V8 3.2.10.34Ben Murdoch2011-08-0419-152/+175
| | | | | Bug: 5095592 Change-Id: I955924aac6e0bdba591798526c33c4d59fd3dc4f
* Merge V8 at r8710: Pick up V8 3.2.10.31Ben Murdoch2011-07-255-8/+13
| | | | | Bug: 5052287 Change-Id: Ib12d1d74d4413ff281fb46ba306d103b5106ee1a
* Merge V8 at branches/3.2 r8606: Initial merge by Git.Ben Murdoch2011-07-1326-85/+244
| | | | Change-Id: I9906d4a1145c7fab2ad78e7a9c375205c56d1287
* Merge V8 at branches/3.2 r8200: Initial merge by GitSteve Block2011-06-1396-2292/+2706
| | | | Change-Id: I5c434306e98132997e9c5f6024b6ce200b255edf
* Merge V8 at r7668: Fix ENABLE_LOGGING_AND_PROFILING guards.Ben Murdoch2011-06-101-0/+2
| | | | | | Partial cherry pick of http://code.google.com/p/v8/source/detail?r=8130 Change-Id: I28abe72ea9a12246f928b3e728a90af074718132
* Merge V8 at r7668: Initial merge by Git.Ben Murdoch2011-06-08245-50127/+8673
| | | | Change-Id: I1703c8b4f5c63052451a22cf3fb878abc9a0ec75
* Update V8 to r7427: Fix ENABLE_LOGGING_AND_PROFILING guardsSteve Block2011-06-034-1/+16
| | | | | | | | | | | | Partial cherry-pick of http://code.google.com/p/v8/source/detail?r=8113 pulled into trunk in http://code.google.com/p/v8/source/detail?r=8130 We can't cherry-pick the entire change because it touches code we don't yet have. The change to top.cc is taken from the patch for isolate.cc, to where this code has now moved. Change-Id: I06a98ff82221a5a9bf64253f7dc5730a2ba603a6
* Update V8 to r7427: Fix missing include in global-handles.hSteve Block2011-06-031-0/+2
| | | | | | | | | | Partial cherry-pick of http://code.google.com/p/v8/source/detail?r=7579 We can't cherry-pick the entire change because it touches code we don't yet have. Change-Id: Ia606ab7049ffa66da61d965c6fa23a9b42a22fca
* Update V8 to r7427: Initial merge by gitSteve Block2011-06-02330-22865/+40855
| | | | | | As required by WebKit r82507 Change-Id: I7ae83ef3f689356043b4929255b7c1dd31d8c5df
* Update V8 to r7079 as required by WebKit r80534.Ben Murdoch2011-05-25168-6668/+18174
| | | | Change-Id: I487c152e485d5a40b68997d7c0d2f1fba5da0834
* Update V8 to r6768 as required by WebKit r78450Steve Block2011-05-24203-9294/+19673
| | | | Change-Id: Ib8868ff7147a76547a8d1d85f257ebe8546a3d3f
* Update V8 to r6387 as required by WebKit r76408Ben Murdoch2011-05-18133-3323/+12083
| | | | Change-Id: Icfc5385b0996bd592f8b1ac8cbb44767ee09f1f6
* Update V8 to r6238 as required by WebKit r75993Ben Murdoch2011-05-1371-916/+2882
| | | | Change-Id: I12f638fcdd02d9102abab17d81c23cde63c08f22
* Update V8 to r6190 as required by WebKit r75315Steve Block2011-05-1295-3294/+4068
| | | | Change-Id: I0b2f598e4d8748df417ad350fc47a1c465ad1fef
* Update V8 to r6101 as required by WebKit r74534Ben Murdoch2011-05-10232-5583/+51512
| | | | Change-Id: I7f84af8dd732f11898fd644b2c2b1538914cb78d
* Merge V8 at 2.5.9.20Ben Murdoch2011-03-162-4/+6
| | | | | | | | | | Pull in the latest V8 for various stability fixes. Note that this deviates from the Chromium 9.0.597.x branch. Bug: 3483676 Change-Id: Ic5178f532775218e1c87a71c54995c2820604cb3
* Merge V8 at 2.5.9.19Ben Murdoch2011-03-1012-9/+86
| | | | | | | | | Pull in the latest V8 for various stability fixes. Note that this deviates from the Chromium 9.0.597.x branch. Bug: 3483676 Change-Id: I06d94f1d178d76395fe437a9ac01a4c71f0fada9
* Merge V8 at Chromium 9.0.597.106Steve Block2011-02-164-50/+176
| | | | | | | | | | | | This is V8 branches/2.5 at r6641. Note that the bug fix that we'd cherry-picked to Android (http://code.google.com/p/v8/source/detail?r=6579) was pulled into the 2.5 branch in http://code.google.com/p/v8/source/detail?r=6601 so is subsumed by this revision. Change-Id: I63fd80c82c821d94e71db82e66cea0fbf33a1140
* Fix for bug 3408144 Browser crash on loading a specific websiteKristian Monsen2011-02-042-1/+13
| | | | | | | Cherry-pick of V8 CL: http://codereview.chromium.org/6246045/patch/2002/3003 Change-Id: Ieee623425ba38cc6f25f10d67b8e06a279d66946
* Update v8 to r6394 (2.5 branch)Ben Murdoch2011-01-202-3/+3
| | | | | | | This is v8 2.5.9.11. http://v8.googlecode.com/svn/branches/2.5@6394 Change-Id: I179913c9c86d36bfc5c6b8a50cdbf8d306508a93