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

Issue 19795002: Logger: extract CodeEventLogger classes. (Closed)

Created:
7 years, 5 months ago by loislo
Modified:
7 years, 5 months ago
Reviewers:
yurys, Yang
CC:
v8-dev
Visibility:
Public.

Description

Logger: extract CodeEventLogger classes. The idea is to extract all the CodeEvent loggers into separate classes make an interface for code events and put them into a listeners array. I extracted code that works with name_buffer into a separate base class CodeEventLogger. And made JitLogger, LowLevelLogger and new CodeMap its descendants. As a side effect I converted NameBuffer into nested class of CodeEventLogger and converted NameMap into nested class of CodeMap. BUG=260203 R=yangguo@chromium.org, yurys@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15784

Patch Set 1 #

Patch Set 2 : minor fixed #

Patch Set 3 : minor fixes #

Total comments: 3

Patch Set 4 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -296 lines) Patch
M src/log.h View 1 4 chunks +2 lines, -15 lines 0 comments Download
M src/log.cc View 1 2 3 22 chunks +382 lines, -281 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
loislo
7 years, 5 months ago (2013-07-19 09:41:48 UTC) #1
loislo
7 years, 5 months ago (2013-07-19 10:58:14 UTC) #2
yurys
lgtm https://codereview.chromium.org/19795002/diff/5001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/19795002/diff/5001/src/log.cc#newcode83 src/log.cc:83: class NameBuffer { Should be protected in CodeEventLogger? ...
7 years, 5 months ago (2013-07-19 12:30:34 UTC) #3
loislo
On 2013/07/19 12:30:34, Yury Semikhatsky wrote: > lgtm > > https://codereview.chromium.org/19795002/diff/5001/src/log.cc > File src/log.cc (right): ...
7 years, 5 months ago (2013-07-19 12:43:22 UTC) #4
Yang
On 2013/07/19 12:43:22, loislo wrote: > On 2013/07/19 12:30:34, Yury Semikhatsky wrote: > > lgtm ...
7 years, 5 months ago (2013-07-19 13:40:42 UTC) #5
loislo
7 years, 5 months ago (2013-07-19 14:59:16 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r15784 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698