v8/test/cctest
yurys@chromium.org 69c2f54d32 Skip samples where top function's stack frame is not setup properly
Stack iterator takes return address based on the frame pointer (ebp) and detects JS frames based on value at fp + StandardFrameConstants::kMarkerOffset. So in order the iterator to work correctly this values should be already setup for the current function. Stack frame is constructed at the very beginning of JS function code and destroyed before return. If sample is taken before before the frame construction is completed or after it was destroyed the stack iterator will wrongly think that FP points at the current functions frame base and will skip callers frame. To avoid this we mark code ranges where  stack frame doesn't exist and completely ignore such samples.

This fixes cctest/test-cpu-profiler/CollectCpuProfile flakiness.

BUG=v8:2628
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/14253015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14670 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-05-14 22:51:33 +00:00
..
cctest.cc Enable native implementation of array buffer and typed arrays in d8 and tests. 2013-05-13 14:18:43 +00:00
cctest.gyp Fix building cctests with component=shared_library snapshot=off 2013-04-17 17:02:35 +00:00
cctest.h fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
cctest.status Skip samples where top function's stack frame is not setup properly 2013-05-14 22:51:33 +00:00
gay-fixed.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-fixed.h Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-precision.cc Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +00:00
gay-precision.h Added precision mode to fast-dtoa. 2010-09-20 09:18:00 +00:00
gay-shortest.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-shortest.h Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
log-eq-of-logging-and-traversal.js Eliminate the need for code delete events in CPU profiler. 2011-09-14 11:47:03 +00:00
test-accessors.cc Added a version of the v8::HandleScope constructor with an Isolate and use that consistently. 2013-03-15 12:06:53 +00:00
test-alloc.cc Free up 11 bits in fast-mode PropertyDetails by removing the enumeration-index. 2013-05-07 13:09:23 +00:00
test-api.cc Enable native implementation of array buffer and typed arrays in d8 and tests. 2013-05-13 14:18:43 +00:00
test-assembler-arm.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-assembler-ia32.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-assembler-mips.cc MIPS: Remove soft-float support. 2013-04-16 11:33:02 +00:00
test-assembler-x64.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-ast.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-bignum-dtoa.cc Fix X64 compilation on Windows. 2011-02-03 11:13:04 +00:00
test-bignum.cc Bignum implementation of Strtod. 2010-11-08 11:49:47 +00:00
test-circular-queue.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-compiler.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-conversions.cc Update tests to use std::isnan instead of isnan 2013-04-19 14:20:36 +00:00
test-cpu-profiler.cc Skip samples where top function's stack frame is not setup properly 2013-05-14 22:51:33 +00:00
test-dataflow.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-date.cc Added a version of the v8::HandleScope constructor with an Isolate and use that consistently. 2013-03-15 12:06:53 +00:00
test-debug.cc stop using AsciiValue 2013-05-13 14:18:05 +00:00
test-declarative-accessors.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-decls.cc fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
test-deoptimization.cc stop using AsciiValue 2013-05-13 14:18:05 +00:00
test-dictionary.cc Added a version of the v8::HandleScope constructor with an Isolate and use that consistently. 2013-03-15 12:06:53 +00:00
test-disasm-arm.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-disasm-ia32.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-disasm-mips.cc Unify the way cctest initalizes the VM for each test case. 2013-04-10 08:29:39 +00:00
test-disasm-x64.cc Unify the way cctest initalizes the VM for each test case. 2013-04-10 08:29:39 +00:00
test-diy-fp.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-double.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-dtoa.cc Fix compilation on 64-bit Windows, update Visual Studio projects. 2011-02-03 13:29:10 +00:00
test-fast-dtoa.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-fixed-dtoa.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
test-flags.cc Ensure removing processed command line arguments. 2012-06-13 15:02:05 +00:00
test-func-name-inference.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-global-handles.cc New GC APIs, try 2. 2013-04-24 15:59:23 +00:00
test-global-object.cc build fix for 14530 2013-05-02 22:00:39 +00:00
test-hashing.cc fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
test-hashmap.cc Make the hash map test run faster by doing less work. 2009-05-15 13:49:00 +00:00
test-heap-profiler.cc stop using AsciiValue 2013-05-13 14:18:05 +00:00
test-heap.cc Enable native implementation of array buffer and typed arrays in d8 and tests. 2013-05-13 14:18:43 +00:00
test-list.cc Progress towards making Zones independent of Isolates and Threads. 2012-06-04 14:42:58 +00:00
test-liveedit.cc One Zone per CompilationInfo. 2012-06-20 08:58:41 +00:00
test-lock.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-lockers.cc stop using AsciiValue 2013-05-13 14:18:05 +00:00
test-log-stack-tracer.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-log.cc fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
test-macro-assembler-x64.cc Make the Isolate parameter mandatory for internal HandleScopes. 2013-02-15 09:27:10 +00:00
test-mark-compact.cc add weakcallback without persistent copying 2013-05-07 10:44:30 +00:00
test-object-observe.cc build fix for 14530 2013-05-02 22:00:39 +00:00
test-parsing.cc fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
test-platform-linux.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-platform-macos.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-platform-nullos.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-platform-tls.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-platform-win32.cc Make gyp work with MingW32 2013-04-15 08:33:31 +00:00
test-platform.cc Determine number of available cores on all platforms. 2013-02-15 12:38:59 +00:00
test-profile-generator.cc fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
test-random.cc fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
test-regexp.cc fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
test-reloc-info.cc Merge experimental/gc branch to the bleeding_edge. 2011-09-19 18:36:47 +00:00
test-serialize.cc fix nosnapshot test failure in 14793004, do not deprecate function 2013-05-08 07:45:16 +00:00
test-sockets.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-spaces.cc Use MemoryChunk-based allocation for deoptimization entry code 2013-01-29 09:09:55 +00:00
test-strings.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-strtod.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-symbols.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-thread-termination.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-threads.cc first step to remove unsafe handles 2013-05-02 20:18:42 +00:00
test-unbound-queue.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-utils.cc Replace OS::MemCopy with OS::MemMove (just as fast but more flexible). 2013-04-16 12:30:51 +00:00
test-version.cc Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
test-weakmaps.cc add weakcallback without persistent copying 2013-05-07 10:44:30 +00:00
testcfg.py Remove SCons related files 2013-04-18 11:01:14 +00:00