DescriptionIntroduce 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.
Committed: http://code.google.com/p/v8/source/detail?r=2009
Patch Set 1 #
Total comments: 8
Patch Set 2 : Fixed Soeren's comments #
Total comments: 2
Patch Set 3 : struct -> class #
Messages
Total messages: 5 (0 generated)
|