v8/tools
mikhail.naganov@gmail.com e48095b87c Implement a dynamically growing memory log buffer with an upper limit.
The goal of this change is to allow longer profiling sessions and preserve memory when profiler isn't started. The buffer starts with 64K and grows until it reaches the upper limit, which is currently set to 50MB --- according to my evaluations, this is enough for at least 20 minutes of GMail profiling. As we're planning to introduce compression for the profiler log, this time boundary will be significantly increased soon.

To make possible unit testing of the new component, I've factored out Logger's utility classes into a separate source file: log-utils.h/cc. Log and LogMessageBuilder are moved there from log.cc without any semantical changes.

Review URL: http://codereview.chromium.org/115814


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2067 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-05-28 07:08:09 +00:00
..
gyp Implement a dynamically growing memory log buffer with an upper limit. 2009-05-28 07:08:09 +00:00
v8.xcodeproj Implement a dynamically growing memory log buffer with an upper limit. 2009-05-28 07:08:09 +00:00
visual_studio Implement a dynamically growing memory log buffer with an upper limit. 2009-05-28 07:08:09 +00:00
codemap.js Don't keep data about JS code that is never executed. 2009-05-08 11:27:02 +00:00
consarray.js TickProcessor script reimplemented in JavaScript. 2009-04-27 13:50:42 +00:00
csvparser.js Implemented a CSV parser in JavaScript. 2009-04-17 17:58:14 +00:00
js2c.py * Reapply revisions 1383, 1384, 1391, 1398, 1401, 1402, 2009-03-11 14:00:55 +00:00
jsmin.py Further minify non-visible JavaScript. 2009-01-28 10:15:11 +00:00
linux-tick-processor In linux-tick-processor only compile d8 if it doesn't exist. 2009-05-20 09:37:36 +00:00
linux-tick-processor.py Refactored command-line options handling in tick processor scripts 2009-02-18 13:45:54 +00:00
presubmit.py - Exclude "build/include_what_you_use" from cpplint.py filters. 2009-04-09 20:07:30 +00:00
profile_view.js Merge into tools/profile_view.js changes needed for DevTools profiler. 2009-05-14 09:27:34 +00:00
profile.js Enhancing profiling data processing code with functionality needed for the Dev Tools Profiler. 2009-04-30 08:10:27 +00:00
run-valgrind.py Valgrind outputs large numbers like 4,096 (with the commas) and 2009-05-12 14:05:37 +00:00
splaytree.js Enhancing profiling data processing code with functionality needed for the Dev Tools Profiler. 2009-04-30 08:10:27 +00:00
splaytree.py Introduce splaytree.KeyNotFoundError and use it for reporting 2009-03-25 12:14:13 +00:00
stats-viewer.py Added support in d8 for memory-mapped counters and added the python 2008-12-03 09:35:21 +00:00
test.py Reland exception propagation fix. 2009-03-31 15:23:58 +00:00
tickprocessor.js Don't keep data about JS code that is never executed. 2009-05-08 11:27:02 +00:00
tickprocessor.py TickProcessor script reimplemented in JavaScript. 2009-04-27 13:50:42 +00:00
utils.py Apply patch from Alexander Botero-Lowry that adds FreeBSD platform 2008-11-21 10:06:29 +00:00
windows-tick-processor.bat Rename profileview.js -> profile_view.js because WebInspector already has ProfileView.js. 2009-04-28 09:15:31 +00:00
windows-tick-processor.py Refactored command-line options handling in tick processor scripts 2009-02-18 13:45:54 +00:00