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

Issue 11415070: Forward white to grey transition only if slot is before the progress bar of a given object. (Closed)

Created:
8 years, 1 month ago by Hannes Payer (out of office)
Modified:
8 years ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Forward white to grey transition only if slot is before the progress bar of a given object. BUG= Committed: https://code.google.com/p/v8/source/detail?r=13063

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M src/incremental-marking-inl.h View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M src/spaces.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Hannes Payer (out of office)
8 years, 1 month ago (2012-11-20 10:24:33 UTC) #1
Michael Starzinger
https://codereview.chromium.org/11415070/diff/1001/src/incremental-marking-inl.h File src/incremental-marking-inl.h (right): https://codereview.chromium.org/11415070/diff/1001/src/incremental-marking-inl.h#newcode47 src/incremental-marking-inl.h:47: if (reinterpret_cast<Address>(slot) - reinterpret_cast<Address>(obj) We don't even need to ...
8 years ago (2012-11-21 17:11:38 UTC) #2
Hannes Payer (out of office)
https://codereview.chromium.org/11415070/diff/1001/src/incremental-marking-inl.h File src/incremental-marking-inl.h (right): https://codereview.chromium.org/11415070/diff/1001/src/incremental-marking-inl.h#newcode47 src/incremental-marking-inl.h:47: if (reinterpret_cast<Address>(slot) - reinterpret_cast<Address>(obj) On 2012/11/21 17:11:38, Michael Starzinger ...
8 years ago (2012-11-21 18:03:57 UTC) #3
Michael Starzinger
https://codereview.chromium.org/11415070/diff/3003/src/spaces.h File src/spaces.h (right): https://codereview.chromium.org/11415070/diff/3003/src/spaces.h#newcode506 src/spaces.h:506: bool IsAheadOfProgressBar(Object** slot) { Apparently we have a different ...
8 years ago (2012-11-22 21:13:22 UTC) #4
Hannes Payer (out of office)
https://codereview.chromium.org/11415070/diff/3003/src/spaces.h File src/spaces.h (right): https://codereview.chromium.org/11415070/diff/3003/src/spaces.h#newcode506 src/spaces.h:506: bool IsAheadOfProgressBar(Object** slot) { On 2012/11/22 21:13:22, Michael Starzinger ...
8 years ago (2012-11-23 10:12:49 UTC) #5
Michael Starzinger
LGTM with a nit. https://codereview.chromium.org/11415070/diff/2002/src/spaces.h File src/spaces.h (right): https://codereview.chromium.org/11415070/diff/2002/src/spaces.h#newcode508 src/spaces.h:508: return reinterpret_cast<Address>(slot) - (reinterpret_cast<Address>(this) + ...
8 years ago (2012-11-26 15:10:26 UTC) #6
Hannes Payer (out of office)
8 years ago (2012-11-26 16:14:35 UTC) #7
https://codereview.chromium.org/11415070/diff/2002/src/spaces.h
File src/spaces.h (right):

https://codereview.chromium.org/11415070/diff/2002/src/spaces.h#newcode508
src/spaces.h:508: return reinterpret_cast<Address>(slot) -
(reinterpret_cast<Address>(this) +
On 2012/11/26 15:10:26, Michael Starzinger wrote:
> Used the address() helper instead of "reinterpret_cast<Address>(this)".
> 
> Also if you pull out the cast of slot to Address the code will be easier to
read
> and the condition will fit into one line.

Done.

Powered by Google App Engine
This is Rietveld 408576698