Reviewers: Søren Gjesse,

Description:
Introduce Logger::LogCompiledFunctions that logs current map of compiled
code.

The goal is to make possible having --prof flag always enabled in
Chromium.  Currently we can't do this because --prof causes compiler and
gc to log code creations / moves / deletes which aren't needed until we
start profiling.  With LogCompiledFunctions it will be possible not to
log anything until we start profiling.  When started, the current map of
compiled functions will be logged and compiler / gc logging will be
enabled to update current state.  When profling is stopped, logging will
be turned off again.

Funny that testing code is actually much longer and complex than
function code.

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

Affected files:
   M src/compiler.cc
   M src/log.h
   M src/log.cc
   M test/cctest/test-log.cc



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

Reply via email to