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

Issue 7350014: Remove the ability to compile without logging and profiling (Closed)

Created:
9 years, 5 months ago by Søren Thygesen Gjesse
Modified:
9 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Remove the ability to compile without logging and profiling The preprocessor defines ENABLE_LOGGING_AND_PROFILING and ENABLE_VMSTATE_TRACKING has been removed as these where required to be turned on for Crankshaft to work. To re-enable reducing the binary size by leaving out heap and CPU profiler a new set of defines needs to be created. R=ager@chromium.org BUG=v8:1271 TEST=all Committed: http://code.google.com/p/v8/source/detail?r=8622

Patch Set 1 #

Patch Set 2 : Fix after own review #

Total comments: 2

Patch Set 3 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -729 lines) Patch
M SConstruct View 1 2 2 chunks +0 lines, -19 lines 0 comments Download
M src/SConscript View 1 chunk +1 line, -4 lines 0 comments Download
M src/api.cc View 10 chunks +0 lines, -208 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 4 chunks +0 lines, -4 lines 0 comments Download
M src/arm/codegen-arm.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/codegen.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M src/cpu-profiler.h View 4 chunks +0 lines, -10 lines 0 comments Download
M src/cpu-profiler.cc View 2 chunks +0 lines, -12 lines 0 comments Download
M src/cpu-profiler-inl.h View 2 chunks +0 lines, -4 lines 0 comments Download
M src/d8.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/frames.h View 2 chunks +0 lines, -2 lines 0 comments Download
M src/frames.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M src/heap.h View 2 chunks +0 lines, -4 lines 0 comments Download
M src/heap.cc View 1 13 chunks +13 lines, -39 lines 0 comments Download
M src/heap-profiler.h View 4 chunks +0 lines, -8 lines 0 comments Download
M src/heap-profiler.cc View 3 chunks +0 lines, -11 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 5 chunks +0 lines, -6 lines 0 comments Download
M src/ia32/codegen-ia32.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/isolate.h View 9 chunks +3 lines, -32 lines 0 comments Download
M src/isolate.cc View 4 chunks +0 lines, -9 lines 0 comments Download
M src/log.h View 4 chunks +0 lines, -8 lines 0 comments Download
M src/log.cc View 33 chunks +0 lines, -120 lines 0 comments Download
M src/log-inl.h View 2 chunks +0 lines, -4 lines 0 comments Download
M src/log-utils.h View 2 chunks +0 lines, -4 lines 0 comments Download
M src/log-utils.cc View 4 chunks +0 lines, -6 lines 0 comments Download
M src/mark-compact.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 2 chunks +24 lines, -28 lines 0 comments Download
M src/mips/codegen-mips.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/mksnapshot.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/platform.h View 2 chunks +0 lines, -3 lines 0 comments Download
M src/platform-cygwin.cc View 4 chunks +0 lines, -6 lines 0 comments Download
M src/platform-freebsd.cc View 4 chunks +0 lines, -7 lines 0 comments Download
M src/platform-linux.cc View 6 chunks +0 lines, -7 lines 0 comments Download
M src/platform-macos.cc View 4 chunks +0 lines, -5 lines 0 comments Download
M src/platform-nullos.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M src/platform-openbsd.cc View 4 chunks +0 lines, -7 lines 0 comments Download
M src/platform-solaris.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M src/platform-win32.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M src/profile-generator.h View 2 chunks +0 lines, -4 lines 0 comments Download
M src/profile-generator.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M src/profile-generator-inl.h View 2 chunks +0 lines, -4 lines 0 comments Download
M src/runtime.h View 3 chunks +5 lines, -11 lines 0 comments Download
M src/runtime.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M src/runtime-profiler.cc View 7 chunks +0 lines, -12 lines 0 comments Download
M src/serialize.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/spaces.h View 6 chunks +1 line, -9 lines 0 comments Download
M src/spaces.cc View 10 chunks +1 line, -13 lines 0 comments Download
M src/v8globals.h View 1 chunk +5 lines, -6 lines 0 comments Download
M src/vm-state.h View 2 chunks +0 lines, -11 lines 0 comments Download
M src/vm-state-inl.h View 4 chunks +0 lines, -11 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 5 chunks +0 lines, -6 lines 0 comments Download
M src/x64/codegen-x64.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M test/cctest/test-log-utils.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M tools/gcmole/gcmole.lua View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/gyp/v8.gyp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Søren Thygesen Gjesse
9 years, 5 months ago (2011-07-13 07:26:12 UTC) #1
mnaganov (inactive)
On 2011/07/13 07:26:12, Søren Gjesse wrote: Great job! I was thinking about separating logging from ...
9 years, 5 months ago (2011-07-13 08:00:30 UTC) #2
Søren Thygesen Gjesse
On 2011/07/13 08:00:30, Mikhail Naganov (Chromium) wrote: > On 2011/07/13 07:26:12, Søren Gjesse wrote: > ...
9 years, 5 months ago (2011-07-13 08:41:24 UTC) #3
Mads Ager (chromium)
LGTM! http://codereview.chromium.org/7350014/diff/2001/SConstruct File SConstruct (right): http://codereview.chromium.org/7350014/diff/2001/SConstruct#newcode66 SConstruct:66: 'protectheap:on': { Ooop. My mistake. I removed all ...
9 years, 5 months ago (2011-07-13 08:50:28 UTC) #4
mnaganov (inactive)
On 2011/07/13 08:50:28, Mads Ager wrote: > LGTM! > > http://codereview.chromium.org/7350014/diff/2001/SConstruct > File SConstruct (right): ...
9 years, 5 months ago (2011-07-13 09:57:31 UTC) #5
Søren Thygesen Gjesse
9 years, 5 months ago (2011-07-13 10:00:55 UTC) #6
http://codereview.chromium.org/7350014/diff/2001/SConstruct
File SConstruct (right):

http://codereview.chromium.org/7350014/diff/2001/SConstruct#newcode66
SConstruct:66: 'protectheap:on': {
On 2011/07/13 08:50:28, Mads Ager wrote:
> Ooop. My mistake. I removed all usages of the ENABLE_HEAP_PROTECTION define.
> Please remove this option.

Done.

Powered by Google App Engine
This is Rietveld 408576698