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

Issue 2040683002: Remove dependencies of V8 on cpu-profiler is_profiling. (Closed)

Created:
4 years, 6 months ago by alph
Modified:
4 years, 6 months ago
CC:
Hannes Payer (out of office), ulan, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Remove dependencies of V8 on cpu-profiler is_profiling. Move is_profiling to the isolate for now. BUG=v8:4789 Committed: https://crrev.com/81c8ce723a44cbdb9203575b022deee517981fe9 Cr-Commit-Position: refs/heads/master@{#36838}

Patch Set 1 #

Patch Set 2 : fix couple more places #

Patch Set 3 : remove extra include's #

Total comments: 4

Patch Set 4 : use macro for declaring is_profiling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -62 lines) Patch
M src/api.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/assembler.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M src/compiler.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 2 chunks +1 line, -2 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 2 chunks +1 line, -2 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 2 chunks +1 line, -3 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 2 chunks +1 line, -2 lines 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 2 chunks +1 line, -2 lines 0 comments Download
M src/crankshaft/s390/lithium-codegen-s390.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M src/external-reference-table.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/heap/scavenger.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M src/ic/ic-compiler.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M src/isolate.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M src/log.cc View 1 1 chunk +5 lines, -7 lines 0 comments Download
M src/profiler/cpu-profiler.h View 1 2 chunks +8 lines, -14 lines 0 comments Download
M src/profiler/cpu-profiler.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/runtime/runtime-function.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M src/snapshot/code-serializer.cc View 2 chunks +1 line, -3 lines 0 comments Download
M test/cctest/test-api.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 37 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040683002/1
4 years, 6 months ago (2016-06-04 02:38:02 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-04 03:08:07 UTC) #4
alph
4 years, 6 months ago (2016-06-04 15:00:58 UTC) #6
lpy
lgtm
4 years, 6 months ago (2016-06-06 17:11:11 UTC) #7
jochen (gone - plz use gerrit)
technically, this would be Isolate::is_being_profiled() :) anyways, lgtm either way
4 years, 6 months ago (2016-06-07 15:05:37 UTC) #8
alph
On 2016/06/07 15:05:37, jochen wrote: > technically, this would be Isolate::is_being_profiled() :) > > anyways, ...
4 years, 6 months ago (2016-06-07 15:58:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040683002/1
4 years, 6 months ago (2016-06-07 16:01:50 UTC) #11
alph
Yang, could you please take a look.
4 years, 6 months ago (2016-06-07 16:09:11 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/16673)
4 years, 6 months ago (2016-06-07 16:33:26 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040683002/1
4 years, 6 months ago (2016-06-07 17:46:44 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040683002/20001
4 years, 6 months ago (2016-06-07 17:52:04 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040683002/40001
4 years, 6 months ago (2016-06-07 18:07:39 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-07 18:33:27 UTC) #22
Yang
LGTM. Some comments. https://codereview.chromium.org/2040683002/diff/40001/src/isolate.h File src/isolate.h (right): https://codereview.chromium.org/2040683002/diff/40001/src/isolate.h#newcode919 src/isolate.h:919: void set_profiling(bool value) { is_profiling_ = ...
4 years, 6 months ago (2016-06-08 07:45:18 UTC) #23
alph
https://codereview.chromium.org/2040683002/diff/40001/src/isolate.h File src/isolate.h (right): https://codereview.chromium.org/2040683002/diff/40001/src/isolate.h#newcode919 src/isolate.h:919: void set_profiling(bool value) { is_profiling_ = value; } On ...
4 years, 6 months ago (2016-06-08 18:38:42 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040683002/60001
4 years, 6 months ago (2016-06-08 18:40:08 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/16780)
4 years, 6 months ago (2016-06-08 18:44:39 UTC) #29
alph
Benedikt, could you please take a look.
4 years, 6 months ago (2016-06-08 19:37:55 UTC) #31
Benedikt Meurer
LGTM (rubber-stamped)
4 years, 6 months ago (2016-06-09 04:23:44 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040683002/60001
4 years, 6 months ago (2016-06-09 05:21:33 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-09 05:23:43 UTC) #35
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 05:25:22 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/81c8ce723a44cbdb9203575b022deee517981fe9
Cr-Commit-Position: refs/heads/master@{#36838}

Powered by Google App Engine
This is Rietveld 408576698