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

Issue 153273003: Cleanup allocation site pretenuring tracing, added new flag --trace-pretenuring-statistics. (Closed)

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

Description

Cleanup allocation site pretenuring tracing, added new flag --trace-pretenuring-statistics. BUG= R=bmeurer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19141

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -11 lines) Patch
M src/flag-definitions.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap.cc View 1 chunk +1 line, -4 lines 0 comments Download
M src/objects-inl.h View 2 chunks +12 lines, -7 lines 4 comments Download

Messages

Total messages: 6 (0 generated)
Hannes Payer (out of office)
6 years, 10 months ago (2014-02-06 10:18:18 UTC) #1
Benedikt Meurer
LGTM
6 years, 10 months ago (2014-02-06 10:28:41 UTC) #2
Hannes Payer (out of office)
Committed patchset #1 manually as r19141 (presubmit successful).
6 years, 10 months ago (2014-02-06 10:30:20 UTC) #3
mvstanton
Very nice, two comments in objects-inl. Have a look at that and send back my ...
6 years, 10 months ago (2014-02-06 10:30:42 UTC) #4
mvstanton
Oh.
6 years, 10 months ago (2014-02-06 10:30:59 UTC) #5
Hannes Payer (out of office)
6 years, 10 months ago (2014-02-06 10:47:26 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/153273003/diff/1/src/objects-inl.h
File src/objects-inl.h (right):

https://codereview.chromium.org/153273003/diff/1/src/objects-inl.h#newcode1555
src/objects-inl.h:1555: PretenureFlag current_mode = GetPretenureMode();
On 2014/02/06 10:30:42, mvstanton wrote:
> This is a little more expensive, because we are only computing ratio for
> printing purposes if we didn't meet kPretenureMinimumCreated.
> 
> Can it be organized such that we don't compute ratio if there is no audience
for
> the computation?

I do not think that this is an issue, but we can do that.

https://codereview.chromium.org/153273003/diff/1/src/objects-inl.h#newcode1577
src/objects-inl.h:1577: 
On 2014/02/06 10:30:42, mvstanton wrote:
> Why drive a VW when you can have a Cadillac? Can the printing tell us about
the
> decision making above, like: did we decide, or did we "change our mind" and
mark
> for deopt?

We do exactly that in old state => new state.

Powered by Google App Engine
This is Rietveld 408576698