Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Issue 7310025: Remove support for logging into a memory buffer. (Closed)

Created:
9 years, 5 months ago by mnaganov (inactive)
Modified:
9 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Remove support for logging into a memory buffer. The only usage of it was in logging tests, I've switched them for using a file. I've left out support for "--logfile=*" for now, as Chromium uses it. Will be removed after the next V8 roll. R=sgjesse@chromium.org BUG=859 TEST=mjsunit/log-* Committed: http://code.google.com/p/v8/source/detail?r=8629

Patch Set 1 #

Total comments: 12

Patch Set 2 : Comments addressed #

Patch Set 3 : Fixed 80 chars issue in comment #

Patch Set 4 : Add Test.. prefix to runtime functions #

Patch Set 5 : Don't add runtime test-only functions #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+532 lines, -1137 lines) Patch
M include/v8.h View 1 chunk +0 lines, -25 lines 0 comments Download
M src/api.cc View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M src/log.h View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M src/log.cc View 1 2 3 4 4 chunks +3 lines, -9 lines 0 comments Download
M src/log-utils.h View 1 2 3 4 4 chunks +13 lines, -88 lines 0 comments Download
M src/log-utils.cc View 1 2 3 4 7 chunks +26 lines, -136 lines 0 comments Download
M src/platform.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/platform-posix.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M src/platform-win32.cc View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M src/v8utils.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/v8utils.cc View 1 2 3 4 3 chunks +39 lines, -13 lines 0 comments Download
M test/cctest/SConscript View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
A test/cctest/log-eq-of-logging-and-traversal.js View 1 2 3 4 1 chunk +191 lines, -0 lines 0 comments Download
M test/cctest/test-log.cc View 1 2 3 4 9 chunks +161 lines, -706 lines 1 comment Download
M test/cctest/test-log-stack-tracer.cc View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
D test/cctest/test-log-utils.cc View 1 2 3 4 1 chunk +0 lines, -136 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M test/mjsunit/tools/profile_view.js View 1 chunk +2 lines, -1 line 0 comments Download
M tools/codemap.js View 1 chunk +8 lines, -0 lines 0 comments Download
M tools/profile.js View 1 2 3 4 5 chunks +46 lines, -2 lines 0 comments Download
M tools/splaytree.js View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mnaganov (inactive)
9 years, 5 months ago (2011-07-07 08:43:07 UTC) #1
Søren Thygesen Gjesse
http://codereview.chromium.org/7310025/diff/1/src/runtime.cc File src/runtime.cc (right): http://codereview.chromium.org/7310025/diff/1/src/runtime.cc#newcode12160 src/runtime.cc:12160: I don't think that specialized testing functions like CreateClassWithCallback ...
9 years, 5 months ago (2011-07-07 11:59:53 UTC) #2
mnaganov (inactive)
Thanks for comments. I disagree with one of them, please look. http://codereview.chromium.org/7310025/diff/1/src/runtime.cc File src/runtime.cc (right): ...
9 years, 5 months ago (2011-07-07 20:19:57 UTC) #3
mnaganov (inactive)
Daniel, what do you think about having 2 small test-only runtime functions? The only feasible ...
9 years, 5 months ago (2011-07-08 09:56:37 UTC) #4
danno
I agree with Søren, please avoid adding anything to runtime.cc that is only there for ...
9 years, 5 months ago (2011-07-08 12:32:10 UTC) #5
mnaganov (inactive)
On 2011/07/08 12:32:10, danno wrote: > I agree with Søren, please avoid adding anything to ...
9 years, 5 months ago (2011-07-13 10:04:34 UTC) #6
Søren Thygesen Gjesse
LGTM
9 years, 5 months ago (2011-07-13 10:51:39 UTC) #7
Sven Panne
http://codereview.chromium.org/7310025/diff/13001/test/cctest/test-log.cc File test/cctest/test-log.cc (right): http://codereview.chromium.org/7310025/diff/13001/test/cctest/test-log.cc#newcode511 test/cctest/test-log.cc:511: "tools/logreader.js", "test/cctest/log-eq-of-logging-and-traversal.js" This change broke testing in an architecture-specific ...
9 years, 5 months ago (2011-07-13 13:11:51 UTC) #8
mnaganov (inactive)
9 years, 5 months ago (2011-07-13 13:14:01 UTC) #9
On 2011/07/13 13:11:51, Sven wrote:
> http://codereview.chromium.org/7310025/diff/13001/test/cctest/test-log.cc
> File test/cctest/test-log.cc (right):
> 
>
http://codereview.chromium.org/7310025/diff/13001/test/cctest/test-log.cc#new...
> test/cctest/test-log.cc:511: "tools/logreader.js",
> "test/cctest/log-eq-of-logging-and-traversal.js"
> This change broke testing in an architecture-specific subdirectory (e.g. cd
> v8/build-ia32 && ../tools/test.py), please restore the previous behaviour.

Sorry, will fix now.

Powered by Google App Engine
This is Rietveld 408576698