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

Issue 767253002: Refactor Map::ConstructionCount. (Closed)

Created:
6 years ago by ulan
Modified:
6 years ago
CC:
v8-dev, Toon Verwaest
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Refactor Map::ConstructionCount. This combines Map::DoneInobjectSlackTracking and Map::ConstructionCount into one more generic 4-bit counter. Counter values from 15 down to 8 are used for in-object slack tracking, values from 7 down to 0 are free to be used for a new counter when in-object slack tracking is inactive.

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Fix x87 #

Total comments: 14

Patch Set 3 : Address comments #

Total comments: 1

Patch Set 4 : Fix assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -93 lines) Patch
M src/arm/builtins-arm.cc View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
M src/heap/heap.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 3 chunks +9 lines, -10 lines 0 comments Download
M src/objects.h View 1 2 4 chunks +16 lines, -19 lines 0 comments Download
M src/objects.cc View 1 2 3 3 chunks +4 lines, -9 lines 0 comments Download
M src/objects-inl.h View 1 2 2 chunks +4 lines, -16 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 2 3 chunks +9 lines, -11 lines 0 comments Download
M src/x87/builtins-x87.cc View 1 2 3 chunks +9 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
ulan
Igor, please take a look. Toon, this is fyi. https://codereview.chromium.org/767253002/diff/60001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/767253002/diff/60001/src/objects.h#newcode5671 src/objects.h:5671: ...
6 years ago (2014-12-02 11:41:05 UTC) #5
Igor Sheludko
https://codereview.chromium.org/767253002/diff/80001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/767253002/diff/80001/src/heap/heap.cc#newcode2360 src/heap/heap.cc:2360: Map::OwnsDescriptors::encode(true); | Map::Counter::encode(Map::kRetainingCounterStart) https://codereview.chromium.org/767253002/diff/80001/src/ia32/builtins-ia32.cc File src/ia32/builtins-ia32.cc (right): https://codereview.chromium.org/767253002/diff/80001/src/ia32/builtins-ia32.cc#newcode173 src/ia32/builtins-ia32.cc:173: ...
6 years ago (2014-12-04 10:11:09 UTC) #6
ulan
Thanks for review. https://codereview.chromium.org/767253002/diff/80001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/767253002/diff/80001/src/heap/heap.cc#newcode2360 src/heap/heap.cc:2360: Map::OwnsDescriptors::encode(true); On 2014/12/04 10:11:08, Igor Sheludko ...
6 years ago (2014-12-05 14:04:44 UTC) #7
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/767253002/diff/100001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/767253002/diff/100001/src/objects.cc#newcode10317 src/objects.cc:10317: DCHECK(map->counter() >= Map::kSlackTrackingCounterEnd); I'm afraid ...
6 years ago (2014-12-05 14:49:09 UTC) #8
ulan
On 2014/12/05 14:49:09, Igor Sheludko wrote: > lgtm with a nit: > > https://codereview.chromium.org/767253002/diff/100001/src/objects.cc > ...
6 years ago (2014-12-05 14:52:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/767253002/120001
6 years ago (2014-12-05 14:53:03 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:120001)
6 years ago (2014-12-05 15:28:16 UTC) #12
Vyacheslav Egorov (Google)
fyi: this regressed EarleyBoyer by 40%
6 years ago (2014-12-08 08:51:05 UTC) #14
ulan
6 years ago (2014-12-08 10:25:47 UTC) #15
Message was sent while issue was closed.
On 2014/12/08 08:51:05, Vyacheslav Egorov (Google) wrote:
> fyi: this regressed EarleyBoyer by 40%
Fix landing: https://codereview.chromium.org/779293003/

Powered by Google App Engine
This is Rietveld 408576698