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

Issue 2061623002: Introduce JIT code events dispatcher for the isolate. (Closed)

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

Description

Introduce JIT code events dispatcher for the isolate. The patch introduces a dedicated dispatching class for JIT code events. It is set as a helper on the isolate. This allows classes across v8 to break their dependency on Logger and CpuProfiler. These two became just regular clients of the dispatcher. BUG=v8:4789 Committed: https://crrev.com/9df23510eaa12eb5c298cf68a92e90c6e992855c Cr-Commit-Position: refs/heads/master@{#37005}

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressing comment. #

Patch Set 3 : rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -403 lines) Patch
M BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
A src/code-events.h View 1 2 1 chunk +183 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M src/codegen.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler.cc View 1 2 10 chunks +13 lines, -12 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 5 chunks +6 lines, -6 lines 0 comments Download
M src/deoptimizer.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/mark-compact.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/ic/handler-compiler.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M src/isolate.h View 5 chunks +8 lines, -1 line 0 comments Download
M src/isolate.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M src/log.h View 1 2 9 chunks +36 lines, -125 lines 0 comments Download
M src/log.cc View 1 2 29 chunks +71 lines, -125 lines 0 comments Download
M src/log-inl.h View 1 2 chunks +14 lines, -14 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/profiler/cpu-profiler.h View 3 chunks +7 lines, -15 lines 0 comments Download
M src/profiler/cpu-profiler.cc View 10 chunks +14 lines, -17 lines 0 comments Download
M src/profiler/profile-generator.h View 3 chunks +5 lines, -3 lines 0 comments Download
M src/profiler/profile-generator.cc View 4 chunks +13 lines, -21 lines 0 comments Download
M src/profiler/profile-generator-inl.h View 2 chunks +1 line, -2 lines 0 comments Download
M src/regexp/arm/regexp-macro-assembler-arm.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/regexp/arm64/regexp-macro-assembler-arm64.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/regexp/ia32/regexp-macro-assembler-ia32.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/regexp/ppc/regexp-macro-assembler-ppc.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/regexp/s390/regexp-macro-assembler-s390.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/regexp/x64/regexp-macro-assembler-x64.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/regexp/x87/regexp-macro-assembler-x87.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/snapshot/code-serializer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/v8.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 4 chunks +17 lines, -12 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 12 chunks +33 lines, -26 lines 0 comments Download

Messages

Total messages: 26 (11 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/2061623002/1
4 years, 6 months ago (2016-06-13 09:31:37 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-13 09:59:50 UTC) #4
alph
Benedikt, could you please take a look. Yang, could you please look at: src/regexp src/snapshot ...
4 years, 6 months ago (2016-06-13 10:00:56 UTC) #6
Benedikt Meurer
I don't have a lot of background on this. Yang volunteered to do the main ...
4 years, 6 months ago (2016-06-13 12:14:03 UTC) #7
Yang
lgtm https://codereview.chromium.org/2061623002/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/2061623002/diff/1/src/isolate.cc#newcode2030 src/isolate.cc:2030: code_event_dispatcher_.reset(); Is there an advantage for using unique_ptr ...
4 years, 6 months ago (2016-06-14 13:38:12 UTC) #8
alph
Thanks for review! @bmeurer: Could you please still do owners review of: src/compiler src/ic src/interpreter ...
4 years, 6 months ago (2016-06-14 16:38:20 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2061623002/20001
4 years, 6 months ago (2016-06-14 17:28:25 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/7316) v8_linux_dbg_ng on ...
4 years, 6 months ago (2016-06-14 17:29:36 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2061623002/40001
4 years, 6 months ago (2016-06-14 19:05:30 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-14 19:36:19 UTC) #17
Benedikt Meurer
LGTM.
4 years, 6 months ago (2016-06-15 13:03:46 UTC) #18
ulan
heap lgtm
4 years, 6 months ago (2016-06-15 13:20:04 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2061623002/40001
4 years, 6 months ago (2016-06-15 13:20:41 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-15 13:22:47 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 13:24:34 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9df23510eaa12eb5c298cf68a92e90c6e992855c
Cr-Commit-Position: refs/heads/master@{#37005}

Powered by Google App Engine
This is Rietveld 408576698