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

Issue 10828113: When specifying a new create histogram callback, reset all histograms so they recreate themselves o… (Closed)

Created:
8 years, 4 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 4 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

When specifying a new create histogram callback, reset all histograms so they recreate themselves on next use. We only do this for histograms, and not for counters, as counters might be used directly from generated code BUG=none TEST=none Committed: https://code.google.com/p/v8/source/detail?r=12248

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 2

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M src/api.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/counters.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M src/v8-counters.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/v8-counters.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jochen (gone - plz use gerrit)
plz review
8 years, 4 months ago (2012-08-01 11:23:54 UTC) #1
Michael Starzinger
LGTM. I'll land that for you.
8 years, 4 months ago (2012-08-01 11:41:06 UTC) #2
Michael Starzinger
https://chromiumcodereview.appspot.com/10828113/diff/3001/src/api.cc File src/api.cc (right): https://chromiumcodereview.appspot.com/10828113/diff/3001/src/api.cc#newcode5226 src/api.cc:5226: if (isolate->IsInitialized()) isolate->counters()->ResetHistograms(); I am not sure about this. ...
8 years, 4 months ago (2012-08-01 12:45:30 UTC) #3
jochen (gone - plz use gerrit)
https://chromiumcodereview.appspot.com/10828113/diff/3001/src/api.cc File src/api.cc (right): https://chromiumcodereview.appspot.com/10828113/diff/3001/src/api.cc#newcode5226 src/api.cc:5226: if (isolate->IsInitialized()) isolate->counters()->ResetHistograms(); On 2012/08/01 12:45:30, Michael Starzinger wrote: ...
8 years, 4 months ago (2012-08-01 12:47:40 UTC) #4
Michael Starzinger
8 years, 4 months ago (2012-08-01 12:48:07 UTC) #5
LGTM again. Will land ...

Powered by Google App Engine
This is Rietveld 408576698