v8/test
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
..
cctest Implement a dynamically growing memory log buffer with an upper limit. 2009-05-28 07:08:09 +00:00
message Fixed a bunch of memory leaks in tests, including: 2009-03-27 00:24:49 +00:00
mjsunit Added stack overflow check for RegExp analysis phase. 2009-05-27 11:23:26 +00:00
mozilla Add support for \b and ^ and $ in multiline mode, completing Irregexp 2009-01-19 18:56:47 +00:00