Status: New
Owner: ----

New issue 868 by dannycoates: Flush on Log::WriteToFile
http://code.google.com/p/v8/issues/detail?id=868

It would be nice if Log::WriteToFile would fflush after fwrite.

Reason:
Triggering a heap snapshot with ResumeProfilerEx(PROFILER_MODULE_HEAP_SNAPSHOT) doesn't always write the whole snapshot until the profiler is enabled again or the program exits. It would be nice to see the whole snapshot at once.

Tested on OSX 10.6 with v8 2.4.3

Source:
around line 130 in log-utils.h

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

Reply via email to