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

Issue 16509005: Implemented function that returns code age. (Closed)

Created:
7 years, 6 months ago by Hannes Payer (out of office)
Modified:
7 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Implemented function that returns code age. This may be used to display debugging information. BUG= R=danno@chromium.org, mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15083

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M src/mark-compact.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Hannes Payer (out of office)
7 years, 6 months ago (2013-06-11 13:19:35 UTC) #1
danno
I think this is a great idea, but worry that since there are no callers ...
7 years, 6 months ago (2013-06-11 13:39:58 UTC) #2
Hannes Payer (out of office)
7 years, 6 months ago (2013-06-11 15:18:04 UTC) #3
Michael Starzinger
https://codereview.chromium.org/16509005/diff/6001/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/16509005/diff/6001/src/mark-compact.cc#newcode1008 src/mark-compact.cc:1008: PrintF("[code-flushing clears: %s - age: %d]\n", *name, age); Won't ...
7 years, 6 months ago (2013-06-11 17:30:07 UTC) #4
Hannes Payer (out of office)
https://codereview.chromium.org/16509005/diff/6001/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/16509005/diff/6001/src/mark-compact.cc#newcode1008 src/mark-compact.cc:1008: PrintF("[code-flushing clears: %s - age: %d]\n", *name, age); On ...
7 years, 6 months ago (2013-06-12 08:56:32 UTC) #5
danno
lgtm if you address comments https://codereview.chromium.org/16509005/diff/11001/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/16509005/diff/11001/src/mark-compact.cc#newcode1047 src/mark-compact.cc:1047: ASSERT(!FLAG_age_code || code->GetAge() >= ...
7 years, 6 months ago (2013-06-12 09:08:13 UTC) #6
Michael Starzinger
https://codereview.chromium.org/16509005/diff/11001/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/16509005/diff/11001/src/mark-compact.cc#newcode1005 src/mark-compact.cc:1005: ASSERT(!FLAG_age_code || code->GetAge() >= Code::kSexagenarianCodeAge); I don't think this ...
7 years, 6 months ago (2013-06-12 09:09:32 UTC) #7
Michael Starzinger
https://codereview.chromium.org/16509005/diff/11001/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/16509005/diff/11001/src/mark-compact.cc#newcode1005 src/mark-compact.cc:1005: ASSERT(!FLAG_age_code || code->GetAge() >= Code::kSexagenarianCodeAge); On 2013/06/12 09:09:32, Michael ...
7 years, 6 months ago (2013-06-12 09:12:17 UTC) #8
Hannes Payer (out of office)
Since the Assert does not hold, I added the GetAge() call back to the tracing ...
7 years, 6 months ago (2013-06-12 10:59:11 UTC) #9
Michael Starzinger
LGTM from my end, with one nit. https://codereview.chromium.org/16509005/diff/15002/src/mark-compact.cc File src/mark-compact.cc (right): https://codereview.chromium.org/16509005/diff/15002/src/mark-compact.cc#newcode1007 src/mark-compact.cc:1007: PrintF("[code-flushing clears: ...
7 years, 6 months ago (2013-06-12 11:04:04 UTC) #10
Hannes Payer (out of office)
Committed patchset #10 manually as r15083 (presubmit successful).
7 years, 6 months ago (2013-06-12 12:39:21 UTC) #11
Hannes Payer (out of office)
7 years, 6 months ago (2013-06-12 12:46:16 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/16509005/diff/15002/src/mark-compact.cc
File src/mark-compact.cc (right):

https://codereview.chromium.org/16509005/diff/15002/src/mark-compact.cc#newco...
src/mark-compact.cc:1007: PrintF("[code-flushing clears: %s - age: %d]\n",
*name,
On 2013/06/12 11:04:04, Michael Starzinger wrote:
> nit: Should fit into one line.

Done.

Powered by Google App Engine
This is Rietveld 408576698