v8/test/cctest
vegorov@chromium.org 64d2dfa232 Introduce API to temporarily interrupt long running JavaScript code.
It is different from termination API as interrupted JavaScript will continue to execute normally when registered InterruptCallback returns.

  /**
   * Request V8 to interrupt long running JavaScript code and invoke
   * the given |callback| passing the given |data| to it. After |callback|
   * returns control will be returned to the JavaScript code.
   * At any given moment V8 can remember only a single callback for the very
   * last interrupt request.
   * Can be called from another thread without acquiring a |Locker|.
   * Registered |callback| must not reenter interrupted Isolate.
   */
  void RequestInterrupt(InterruptCallback callback, void* data);

  /**
   * Clear interrupt request created by |RequestInterrupt|.
   * Can be called from another thread without acquiring a |Locker|.
   */
  void ClearInterrupt();

Fix Hydrogen SCE pass to avoid eliminating stack guards too aggressively. Only normal JavaScript functions are guaranteed to have stack guard in the prologue. If function is a builtin or has a custom call IC it will lack one.

BUG=
R=danno@chromium.org, dcarney@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18363 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-18 18:38:35 +00:00
..
cctest.cc remove remaining uses of default isolate in tests 2013-09-20 10:52:20 +00:00
cctest.gyp Delete several deprecated methods on v8::CpuProfiler 2013-12-18 08:59:09 +00:00
cctest.h Remove HeapSnapshotsCollection class 2013-12-03 09:48:30 +00:00
cctest.status Increase test runner speed. 2013-11-26 16:53:04 +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 Fix test-log/EquivalenceOfLoggingAndTraversal 2013-08-26 14:56:23 +00:00
profiler-extension.cc Delete several deprecated methods on v8::CpuProfiler 2013-12-18 08:59:09 +00:00
profiler-extension.h Fix Linux shared compilation after r18337 2013-12-18 09:52:37 +00:00
test-accessors.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-alloc.cc Remove usage of deprecated APIs from cctests 2013-11-22 12:43:17 +00:00
test-api.cc Introduce API to temporarily interrupt long running JavaScript code. 2013-12-18 18:38:35 +00:00
test-assembler-arm.cc cleanup cctest generally and remove ctest::context 2013-09-19 13:30:47 +00:00
test-assembler-ia32.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-assembler-mips.cc remove HEAP from tests 2013-09-19 09:46:15 +00:00
test-assembler-x64.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-ast.cc Unify handling of position info in AST, part 1 2013-10-14 09:24:58 +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 Rename some of SamplingCircularQueue methods 2013-09-05 10:31:18 +00:00
test-code-stubs-arm.cc Drop IsPregenerated() and allow_stub_calls flag. 2013-11-29 20:49:15 +00:00
test-code-stubs-ia32.cc Drop IsPregenerated() and allow_stub_calls flag. 2013-11-29 20:49:15 +00:00
test-code-stubs-x64.cc Drop IsPregenerated() and allow_stub_calls flag. 2013-11-29 20:49:15 +00:00
test-code-stubs.cc Fix NaCl build after r16322. 2013-08-26 13:37:01 +00:00
test-code-stubs.h Arm support for DoubleToIStub (truncating). 2013-08-26 12:24:03 +00:00
test-compiler.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-condition-variable.cc Improve cctest/test-condition-variable. 2013-09-03 11:27:02 +00:00
test-constantpool.cc Out-of-line constant pool on Arm: Stage 2 - Introduce ConstantPoolArray object. 2013-10-14 13:35:06 +00:00
test-conversions.cc Add support for explicit octal and binary integer literals 2013-07-19 09:57:35 +00:00
test-cpu-ia32.cc Fix the CPU feature detection. 2013-08-26 09:37:39 +00:00
test-cpu-profiler.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-cpu-x64.cc Fix the CPU feature detection. 2013-08-26 09:37:39 +00:00
test-cpu.cc Replace OS::NumberOfCores() with CPU::NumberOfProcessorsOnline(). 2013-08-28 12:32:56 +00:00
test-dataflow.cc bulk replace Isolate::Current in tests 2013-09-19 09:17:13 +00:00
test-date.cc bulk replace Isolate::Current in tests 2013-09-19 09:17:13 +00:00
test-debug.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-declarative-accessors.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-decls.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-deoptimization.cc Remove usage of deprecated APIs from cctests 2013-11-22 12:43:17 +00:00
test-dictionary.cc Remove calls to JSObject::SetLocalPropertyIgnoreAttributesTrampoline within objects.cc 2013-11-05 11:47:11 +00:00
test-disasm-arm.cc bulk replace Isolate::Current in tests 2013-09-19 09:17:13 +00:00
test-disasm-ia32.cc Introduce addps/subps/mulps/divps for IA32/X64 2013-11-18 15:24:41 +00:00
test-disasm-mips.cc bulk replace Isolate::Current in tests 2013-09-19 09:17:13 +00:00
test-disasm-x64.cc Introduce addps/subps/mulps/divps for IA32/X64 2013-11-18 15:24:41 +00:00
test-diy-fp.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-double.cc Keep two empty lines between declarations for cpp files 2013-07-05 09:52:11 +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 Add flags to force or prevent setting of isolate.is_memory_constrained. 2013-09-17 13:48:17 +00:00
test-func-name-inference.cc Replace 'operator*' with explicit 'get' method on SmartPointer 2013-12-09 07:41:20 +00:00
test-global-handles.cc remove HEAP from tests 2013-09-19 09:46:15 +00:00
test-global-object.cc bulk replace Isolate::Current in tests 2013-09-19 09:17:13 +00:00
test-hashing.cc bulk replace Isolate::Current in tests 2013-09-19 09:17:13 +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 Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-heap.cc Remove all stuff marked as V8_DEPRECATED. 2013-12-18 08:09:37 +00:00
test-list.cc revert thread isolate in PreallocatedStorageAllocationPolicy 2013-09-02 11:39:23 +00:00
test-liveedit.cc bulk replace Isolate::Current in tests 2013-09-19 09:17:13 +00:00
test-lockers.cc Remove usage of deprecated APIs from cctests 2013-11-22 12:43:17 +00:00
test-log-stack-tracer.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-log.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-macro-assembler-arm.cc Drop IsPregenerated() and allow_stub_calls flag. 2013-11-29 20:49:15 +00:00
test-macro-assembler-ia32.cc Drop IsPregenerated() and allow_stub_calls flag. 2013-11-29 20:49:15 +00:00
test-macro-assembler-mips.cc MIPS: Fixed a bug in CopyBytes() and new test cases for MIPS macro assembler. 2013-09-23 19:38:54 +00:00
test-macro-assembler-x64.cc Drop IsPregenerated() and allow_stub_calls flag. 2013-11-29 20:49:15 +00:00
test-mark-compact.cc Remove all stuff marked as V8_DEPRECATED. 2013-12-18 08:09:37 +00:00
test-mutex.cc Cleanup Mutex and related classes. 2013-08-29 09:58:30 +00:00
test-object-observe.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-parsing.cc Replace 'operator*' with explicit 'get' method on SmartPointer 2013-12-09 07:41:20 +00:00
test-platform-linux.cc Revert r16648, r16641, r16638 and r16637. 2013-09-11 18:30:01 +00:00
test-platform-macos.cc Add missing license headers. 2013-03-07 11:12:26 +00:00
test-platform-tls.cc Keep two empty lines between declarations for cpp files 2013-07-05 09:52:11 +00:00
test-platform-win32.cc Revert r16648, r16641, r16638 and r16637. 2013-09-11 18:30:01 +00:00
test-platform.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-profile-generator.cc Delete several deprecated methods on v8::CpuProfiler 2013-12-18 08:59:09 +00:00
test-random-number-generator.cc Fix clang C++11 compiler warning. 2013-09-10 13:39:53 +00:00
test-regexp.cc Replace 'operator*' with explicit 'get' method on SmartPointer 2013-12-09 07:41:20 +00:00
test-reloc-info.cc Replace 'operator*' with explicit 'get' method on SmartPointer 2013-12-09 07:41:20 +00:00
test-representation.cc Generate TypedArrayInitialize builtin in hydrogen. 2013-11-25 14:41:46 +00:00
test-semaphore.cc Fix Mac llvm-gcc42 build after commit r16473. 2013-09-02 12:36:08 +00:00
test-serialize.cc Remove usage of deprecated APIs from cctests 2013-11-22 12:43:17 +00:00
test-socket.cc Cleanup Socket class and remove it from the platform files. 2013-09-04 10:41:51 +00:00
test-spaces.cc Test that we can bootstrap into the first page of each space. 2013-09-20 12:18:17 +00:00
test-strings.cc Replace 'operator*' with explicit 'get' method on SmartPointer 2013-12-09 07:41:20 +00:00
test-strtod.cc Fix MSVC compiler warning after commit r16612. 2013-09-10 11:33:14 +00:00
test-symbols.cc remove HEAP from tests 2013-09-19 09:46:15 +00:00
test-thread-termination.cc Removed internal uses of (almost) deprecated FunctionTemplate::New version. 2013-12-18 10:31:42 +00:00
test-threads.cc Remove usage of deprecated APIs from cctests 2013-11-22 12:43:17 +00:00
test-time.cc Always use timeGetTime() for TimeTicks::Now() on Windows. 2013-10-02 13:30:31 +00:00
test-types.cc Reenable 17167: "Ensure lower <= upper bound" 2013-10-14 12:14:42 +00:00
test-unbound-queue.cc Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
test-unique.cc Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
test-utils.cc Remove unused function MoveBytes(). 2013-10-28 09:59:15 +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 Remove all stuff marked as V8_DEPRECATED. 2013-12-18 08:09:37 +00:00
test-weaksets.cc Remove all stuff marked as V8_DEPRECATED. 2013-12-18 08:09:37 +00:00
test-weaktypedarrays.cc Mark deprecated APIs with relatively little use as deprecated 2013-11-28 08:21:26 +00:00
testcfg.py Remove SCons related files 2013-04-18 11:01:14 +00:00