Reviewers: Erik Corry,

Message:
Please take a look.

This is the first CL in a series towards having count-based profiling. It adds a "self-optimization" header to primitive functions, and propagates a few bits of information about compilation and IC patching events to the runtime profiler.

The most interesting changes are:
full-codegen-{arm,ia32,x64}.cc: generating the self-optimization header
runtime-profiler.{h,cc}: new behavior if FLAG_counting_profiler; old code moved
to "else {...}" sections.
ic-inl.h: Mark functions on the stack as not-yet-stable (in the type information
sense) when an IC is patched.

Description:
Count-based profiling for primitive functions (hidden behind a flag)


Please review this at https://chromiumcodereview.appspot.com/9361026/

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

Affected files:
  M src/arm/full-codegen-arm.cc
  M src/compiler.h
  M src/compiler.cc
  M src/flag-definitions.h
  M src/full-codegen.cc
  M src/heap.cc
  M src/ia32/full-codegen-ia32.cc
  M src/ic-inl.h
  M src/mark-compact.cc
  M src/objects-inl.h
  M src/objects.h
  M src/runtime-profiler.h
  M src/runtime-profiler.cc
  M src/runtime.cc
  M src/x64/full-codegen-x64.cc


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

Reply via email to