Chromium Code Reviews
Help | Chromium Project | Sign in
(156)

Issue 5720003: Fix bug that disabled optimization when profiling. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
3 years, 4 months ago by Karl Klose
Modified:
2 years, 11 months ago
CC:
v8-dev_googlegroups.com
Visibility:
Public.

Description

Fix bug that disabled optimization when profiling.


Committed: http://code.google.com/p/v8/source/detail?r=5972

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -20 lines) Lint Patch
M src/runtime-profiler.cc View 1 2 3 3 chunks +23 lines, -20 lines 0 comments 0 errors Download
Trybot results:
Commit:

Messages

Total messages: 8
Karl Klose
3 years, 4 months ago #1
Florian Schneider
LGTM. http://codereview.chromium.org/5720003/diff/1/src/runtime-profiler.cc File src/runtime-profiler.cc (right): http://codereview.chromium.org/5720003/diff/1/src/runtime-profiler.cc#newcode429 src/runtime-profiler.cc:429: if (top_is_in_js_state) { Do you need to check ...
3 years, 4 months ago #2
Vitaly Repeshko
It seems wrong that state window tracking is done in SuspendIfNecessary. Why not move this ...
3 years, 4 months ago #3
Karl Klose
http://codereview.chromium.org/5720003/diff/1/src/runtime-profiler.cc File src/runtime-profiler.cc (right): http://codereview.chromium.org/5720003/diff/1/src/runtime-profiler.cc#newcode429 src/runtime-profiler.cc:429: if (top_is_in_js_state) { On 2010/12/10 14:02:55, fschneider1 wrote: > ...
3 years, 4 months ago #4
Karl Klose
> It seems wrong that state window tracking is done in SuspendIfNecessary. Why not > ...
3 years, 4 months ago #5
Karl Klose
On 2010/12/10 14:12:56, Karl Klose wrote: > > It seems wrong that state window tracking ...
3 years, 4 months ago #6
Vitaly Repeshko
LGTM Thanks, Vitaly http://codereview.chromium.org/5720003/diff/12001/src/runtime-profiler.cc File src/runtime-profiler.cc (right): http://codereview.chromium.org/5720003/diff/12001/src/runtime-profiler.cc#newcode353 src/runtime-profiler.cc:353: static void AddStateSample(SamplerState current_state) { Rename ...
3 years, 4 months ago #7
Karl Klose
3 years, 4 months ago #8
http://codereview.chromium.org/5720003/diff/12001/src/runtime-profiler.cc
File src/runtime-profiler.cc (right):

http://codereview.chromium.org/5720003/diff/12001/src/runtime-profiler.cc#new...
src/runtime-profiler.cc:353: static void AddStateSample(SamplerState
current_state) {
On 2010/12/10 14:40:40, Vitaly wrote:
> Rename to "UpdateStateRatio"?

Done.

http://codereview.chromium.org/5720003/diff/12001/src/runtime-profiler.cc#new...
src/runtime-profiler.cc:374: AddStateSample(IN_JS_STATE);
On 2010/12/10 14:40:40, Vitaly wrote:
> Nice place to use ?: operator. Up to you though.

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1280:2d3e6564b7b6