- 09 Mar, 2012 1 commit
-
-
yangguo@chromium.org authored
While enabling "-fstack-protector", compiler generates code in function prologue and epilogue to do stack check. However, without knowing that 'r1', 'r2' and 'r3' is used/destroyed in inline asm, compiler assumes that 'r1', 'r2', or 'r3' can be used exclusively, which leads to a core dump. Fix to this is quite straightforward, just add clobber list to the inlineasm. BUG=None TEST=manually checked the generated asm code,boot up chrome browser successfully with this modification Review URL: https://chromiumcodereview.appspot.com/9618017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10977 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 Feb, 2012 1 commit
-
-
vegorov@chromium.org authored
Split executable memory chunks into two pieces: header with all metadata (protection: RW) and body (protection: RWX). Separate header from metadata with a guard page and add a guard page after the page body. R=erik.corry@gmail.com BUG=http://crbug.com/115151 Review URL: https://chromiumcodereview.appspot.com/9452002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10809 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Feb, 2012 1 commit
-
-
erik.corry@gmail.com authored
limits in Chromium. http://code.google.com/p/chromium/issues/detail?id=112843 Review URL: https://chromiumcodereview.appspot.com/9353006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10615 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 31 Jan, 2012 1 commit
-
-
danno@chromium.org authored
As with Arm, the kernel defines this stuff, but bionic lib does not. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9298016 Patch from Paul Lind <plind44@gmail.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10556 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Jan, 2012 2 commits
-
-
danno@chromium.org authored
TBR=ulan@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9232046 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
danno@chromium.org authored
As with Arm, the kernel defines this stuff, but bionic lib does not. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9298003 Patch from Paul Lind <plind44@gmail.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10525 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Jan, 2012 1 commit
-
-
erik.corry@gmail.com authored
Review URL: https://chromiumcodereview.appspot.com/9117032 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10490 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Jan, 2012 1 commit
-
-
yangguo@chromium.org authored
BUG=v8:1653 Review URL: https://chromiumcodereview.appspot.com/9192010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10465 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Jan, 2012 2 commits
-
-
erik.corry@gmail.com authored
test failures. Review URL: http://codereview.chromium.org/9178014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10417 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Reduce signal sender thread stack size to 32k. Commit partial old-space pages to reduce minimum memory use. This is a rebase of http://codereview.chromium.org/9017009/ Review URL: http://codereview.chromium.org/9179012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10413 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 16 Jan, 2012 2 commits
-
-
jkummerow@chromium.org authored
TEST=make android Review URL: http://codereview.chromium.org/9179009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10409 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
erik.corry@gmail.com authored
Review URL: http://codereview.chromium.org/9231009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10407 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Jan, 2012 1 commit
-
-
erik.corry@gmail.com authored
Review URL: http://codereview.chromium.org/9139051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10399 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Nov, 2011 2 commits
-
-
vitalyr@chromium.org authored
The return value of pthread_create is now checked to be 0. Tests on MIPS boards had some silent and hard to find timeouts and errors related to this. This ensures a proper error message and shutdown if a thread could not be started. BUG= TEST= Review URL: http://codereview.chromium.org/8497041 Patch from Gergely Kis <gergely@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9945 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
BUG= TEST= Review URL: http://codereview.chromium.org/8507008 Patch from Gergely Kis <gergely@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9926 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Oct, 2011 1 commit
-
-
vegorov@chromium.org authored
TEST=N/A BUG=1749 Review URL: http://codereview.chromium.org/8115014 Patch from Cris Neckar <cdn@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9572 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Sep, 2011 1 commit
-
-
vegorov@chromium.org authored
Ensure that unmap return values are checked in debug mode. R=erik.corry@gmail.com BUG=v8:1701 Review URL: http://codereview.chromium.org/8060052 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9480 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Sep, 2011 1 commit
-
-
vegorov@chromium.org authored
Review URL: http://codereview.chromium.org/7945009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9328 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 31 Aug, 2011 1 commit
-
-
jkummerow@chromium.org authored
Another port of an older arm commit, which was not upstreamed at the time. Ported r7754 (ef678641) BUG= TEST= Review URL: http://codereview.chromium.org/7809016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9087 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Aug, 2011 1 commit
-
-
erik.corry@gmail.com authored
Review URL: http://codereview.chromium.org/7655016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8948 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Jul, 2011 3 commits
-
-
ager@chromium.org authored
- 32-bit Linux already seems to scatter the mmap() chunks around; 64-bit didn't. - Seed the system random number generator a little better (we needlessly trunctaed microsecond resolution to millisecond resolution). - Will automatically take advantage of better entropy when V8::RandomPrivate uses it. R=fschneider@chromium.org,cevans@chromium.org BUG=v8:805 TEST= Review URL: http://codereview.chromium.org/7464022 Patch from Chris Evans <cevans@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8705 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
Causes sputnik test failures. R=cevans@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7468023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8703 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
- 32-bit Linux already seems to scatter the mmap() chunks around; 64-bit didn't. - Seed the system random number generator a little better (we needlessly trunctaed microsecond resolution to millisecond resolution). - Will automatically take advantage of better entropy when V8::RandomPrivate uses it. BUG=v8:805 Review URL: http://codereview.chromium.org/7377008 Patch from Chris Evans <cevans@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8702 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Jul, 2011 1 commit
-
-
whesse@chromium.org authored
* src/third_party/valgrind/valgrind.h: Update from upstream valgrind r11899, so as to get around some unused value warnings. Also adds support for darwin. This version of valgrind.h differs from the original in that all instances of "unsigned long long int" have been replaced with "uint64_t", as the former is not allowed in ISO C++ 89. See https://bugs.kde.org/show_bug.cgi?id=211926 for the upstream bug report. * src/x64/cpu-x64.cc: * src/builtins.cc: * src/conversions-inl.h: * src/debug.cc: * src/frames.cc: * src/full-codegen.cc: * src/jsregexp.cc: * src/objects.cc: * src/parser.cc: * src/platform-linux.cc: * src/x64/code-stubs-x64.cc: * src/x64/deoptimizer-x64.cc: * src/x64/full-codegen-x64.cc: * src/x64/lithium-codegen-x64.cc: * src/x64/regexp-macro-assembler-x64.cc: * src/x64/stub-cache-x64.cc: Remove a number of assigned but unreferenced variables. * SConstruct (CCTEST_EXTRA_FLAGS): Punt on -Wunused-but-set-variable for the test suite. BUG=1291 TEST=A build and tools/test.py passes. Review URL: http://codereview.chromium.org/7400023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8688 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Jul, 2011 1 commit
-
-
sgjesse@chromium.org authored
The preprocessor defines ENABLE_LOGGING_AND_PROFILING and ENABLE_VMSTATE_TRACKING has been removed as these where required to be turned on for Crankshaft to work. To re-enable reducing the binary size by leaving out heap and CPU profiler a new set of defines needs to be created. R=ager@chromium.org BUG=v8:1271 TEST=all Review URL: http://codereview.chromium.org//7350014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8622 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Jul, 2011 1 commit
-
-
ager@chromium.org authored
It does not currently work and when it did work we never got it fast enough to be useful. R=kmillikin@chromium.org Review URL: http://codereview.chromium.org/7324051 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8601 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Jul, 2011 1 commit
-
-
vitalyr@chromium.org authored
o The thread local state in an isolate has to be initialized before it's used. o v8::Locker was incorrectly tracking whether it's the topmost one. o Waking the profiler thread on shutdown should not leave the semaphore counter in an inconsitent state. R=fschneider@chromium.org BUG=v8:1522 TEST=cctest/test-lockers/Regress1433 Review URL: http://codereview.chromium.org/7309013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8537 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Jun, 2011 3 commits
-
-
mikhail.naganov@gmail.com authored
Thread class was receiving an isolate parameter by default. This approact violates the assumption that only VM threads can have an associated isolate, and can lead to troubles, because accessing the same isolate from different threads leads to race conditions. This was found by investigating mysterious failures of the CPU profiler layout test on Linux Chromium. As almost all threads were associated with some isolate, the sampler was trying to sample them. As a side effect, we have also fixed the DebuggerAgent test. Thanks to Vitaly for help in fixing isolates handling! R=vitalyr@chromium.org BUG=none TEST=none git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8259 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8257 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8254 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 07 Jun, 2011 1 commit
-
-
mikhail.naganov@gmail.com authored
Mainly, there were errors concerning blank lines before and after class access control sections [whitespace/blank_line]. BEFORE an access control section (e.g. public:, private:) there should be a blank line (except for the section right after the class declaration). AFTER an access control section there should be no blank line. TBR=ager@chromium.org git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8193 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 02 Jun, 2011 1 commit
-
-
mikhail.naganov@gmail.com authored
TBR=ager@chromium.org git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8160 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Jun, 2011 2 commits
-
-
mikhail.naganov@gmail.com authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8153 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
mikhail.naganov@gmail.com authored
start CPU profiling. TBR=vitalyr@chromium.org BUG=1344,crbug/79320,crbug/83521 TEST=none Review URL: http://codereview.chromium.org/7107003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8152 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 May, 2011 1 commit
-
-
sgjesse@chromium.org authored
The constant 1.0 should be 0x3FF0000000000000 not 0x03FF000000000000. R=karlklose@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org//6930064 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7806 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 May, 2011 1 commit
-
-
sgjesse@chromium.org authored
Always use CpuFeaturesImpliedByCompiler() when selecting CPU features. This checks both for CAN_USE_ARMV7_INSTRUCTIONS and CAN_USE_VFP_INSTRUCTIONS and for GCC preprocessor symbols. This will support using the CAN_USE_XXX for a simulator build used for generating a snapshot followed by a crosscompile using -march= and -mfpu= for selecting the (minimal) target device CPU features. The snapshot will use instructions based on the CAN_USE_XXX whereas the target will at least use features based on both CAN_USE_XXX and -march= and -mfpu=, but will try runtime CPU feature detection a well looking for somethis better. Remove the compiler based CPU feature detection from the OS::CpuFeaturesImpliedByPlatform() as it did not belong there. Also was already in the CpuFeaturesImpliedByCompiler(). Add the variable 'v8_can_use_vfp_instructions' to the GYP file which can be used to turn on CAN_USE_VFP_INSTRUCTIONS when building V8. I did not add any -mfpu= cflags for this, as there are several options here (e.g. vfp and neon). R=erik.corry@gmail.com, karlklose@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org//6904164 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7754 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Apr, 2011 2 commits
-
-
sgjesse@chromium.org authored
The "simple" function with inline assembly for detecting hardfloat have been changed to handle compiling without VFP and with thumb. The SCons setting for the float abi now follows then naming used by the GCC -mfloat-abi and soft has been added. R=karlklose@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org//6904126 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7725 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
Add option armeabi to the SCons build for selecting the floating point variant to use. Also add externally defined CCFLAGS environment for all targets. Run test.py with option -S armeabi=hardfloat to test with hardfloat enabled. Make selecting hardfloat EABI variant a build-time option instead of a runtime option. Add a simple check of the EABI variant during V8 initialization to exit if the compilation was not configured correctly. The reason for this is that GCC does not provide a compile time symbol defining the EABI variant. This check is not fool-proof as it cannot check the compilation configuration used for the snapshot if any. R=karlklose@chromium.org, erik.corry@gmail.com BUG=none TEST=none Review URL: http://codereview.chromium.org//6905098 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7715 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Apr, 2011 1 commit
-
-
vegorov@chromium.org authored
BUG=http://crbug.com/77725 Review URL: http://codereview.chromium.org/6837028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7612 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Apr, 2011 1 commit
-
-
sgjesse@chromium.org authored
R=vegorov@chromium.org, rodolph.perfetta@gmail.com BUG=v8:1317 TEST= Review URL: http://codereview.chromium.org//6825037 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7580 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-