Reviewers: Jakob,

Description:
Add a deoptimization count to each function to limit number of re-compilations.

In most scenarios it is better to count deoptimizations than optimizations to
decide when to stop re-compiling a function because of repeated deopts.

Please review this at http://codereview.chromium.org/9207002/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/arm/deoptimizer-arm.cc
  M     src/compiler.h
  M     src/compiler.cc
  M     src/heap.cc
  M     src/hydrogen.cc
  M     src/ia32/deoptimizer-ia32.cc
  M     src/mips/deoptimizer-mips.cc
  M     src/objects-inl.h
  M     src/objects.h
  M     src/objects.cc
  M     src/runtime.h
  M     src/runtime.cc
  M     src/x64/deoptimizer-x64.cc
  M     test/mjsunit/assert-opt-and-deopt.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to