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

Issue 39183004: Define DEBUG for v8_optimized_debug=2 (Closed)

Created:
7 years, 2 months ago by danno
Modified:
7 years, 1 month ago
CC:
v8-dev
Visibility:
Public.

Description

Define DEBUG for v8_optimized_debug=2 Thereby ensuring there is only a minimal performance regression vs. NDEBUG (now it's only about 10% slower rather than ~2x). R=jkummerow@chromium.org, mstarzinger@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=17392

Patch Set 1 #

Patch Set 2 : Tweaks #

Patch Set 3 : Consistent naming #

Patch Set 4 : Tweaks #

Patch Set 5 : More tweaks #

Total comments: 2

Patch Set 6 : Address review feedback #

Patch Set 7 : Remove whitespace change #

Patch Set 8 : Remove msan change #

Total comments: 1

Patch Set 9 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -33 lines) Patch
M build/toolchain.gypi View 1 2 3 4 5 3 chunks +4 lines, -9 lines 0 comments Download
M src/ast.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/checks.h View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -2 lines 0 comments Download
M src/checks.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/contexts.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M src/conversions-inl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/deoptimizer.h View 1 1 chunk +9 lines, -1 line 0 comments Download
M src/elements.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/incremental-marking.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/list.h View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 chunks +6 lines, -6 lines 0 comments Download
M src/objects-inl.h View 2 4 chunks +4 lines, -4 lines 0 comments Download
M src/utils.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
danno
PTAL
7 years, 2 months ago (2013-10-24 10:49:24 UTC) #1
Jakob Kummerow
Drive-by nits. High-level: I liked having a mode where we have compiler optimizations but slow ...
7 years, 2 months ago (2013-10-24 13:52:09 UTC) #2
danno
please take another look
7 years, 1 month ago (2013-10-25 07:56:53 UTC) #3
Michael Starzinger
LGTM. I like. Just one more nit. https://codereview.chromium.org/39183004/diff/180001/src/checks.h File src/checks.h (right): https://codereview.chromium.org/39183004/diff/180001/src/checks.h#newcode306 src/checks.h:306: #define SLOW_ASSERT(condition) ...
7 years, 1 month ago (2013-10-25 08:21:16 UTC) #4
danno
Committed patchset #9 manually as r17392 (presubmit successful).
7 years, 1 month ago (2013-10-25 11:10:41 UTC) #5
Dirk Pranke
On 2013/10/25 11:10:41, danno wrote: > Committed patchset #9 manually as r17392 (presubmit successful). Assuming ...
7 years, 1 month ago (2013-10-30 00:43:20 UTC) #6
Jakob Kummerow
7 years, 1 month ago (2013-10-30 09:31:40 UTC) #7
Message was sent while issue was closed.
On 2013/10/30 00:43:20, Dirk Pranke wrote:
> Do you have a favorite test to run to validate that the right asserts are
indeed
> firing, or should I just hack some buggy code in?

Thanks for offering help, but we're reasonably sure that the ASSERTs do fire as
intended. See e.g.:
https://codereview.chromium.org/46883008
https://codereview.chromium.org/47513015
https://codereview.chromium.org/49433002
https://codereview.chromium.org/49103002
https://codereview.chromium.org/48303004
https://codereview.chromium.org/48463002
and of course https://codereview.chromium.org/47543006/#msg6, which might also
explain why you're not seeing much of a performance impact.

Powered by Google App Engine
This is Rietveld 408576698