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

Issue 1470773003: Optimize ClearNonLiveReferences: do not compact prototype transitions in GC. (Closed)

Created:
5 years, 1 month ago by ulan
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Optimize ClearNonLiveReferences: do not compact prototype transitions in GC. BUG=chromium:554488 LOG=NO Committed: https://crrev.com/7a21cdafaf665e05700e84de1081b5479c69342a Cr-Commit-Position: refs/heads/master@{#32272}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Add missing check #

Total comments: 2

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -81 lines) Patch
M src/heap/mark-compact.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/mark-compact.cc View 1 2 chunks +1 line, -37 lines 0 comments Download
M src/transitions.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M src/transitions.cc View 1 2 3 4 chunks +66 lines, -32 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 3 chunks +8 lines, -11 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
ulan
PTAL https://codereview.chromium.org/1470773003/diff/20001/src/transitions.cc File src/transitions.cc (left): https://codereview.chromium.org/1470773003/diff/20001/src/transitions.cc#oldcode404 src/transitions.cc:404: if (Heap::ShouldZapGarbage()) { We do not need to ...
5 years ago (2015-11-24 15:47:04 UTC) #2
ulan
+Michael for the heap part.
5 years ago (2015-11-24 15:47:31 UTC) #4
ulan
https://codereview.chromium.org/1470773003/diff/20001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (left): https://codereview.chromium.org/1470773003/diff/20001/src/heap/mark-compact.cc#oldcode2308 src/heap/mark-compact.cc:2308: FixedArray* prototype_transitions = This code is moved to runtime.
5 years ago (2015-11-24 15:49:05 UTC) #5
Jakob Kummerow
LGTM with a refactoring suggestion. https://codereview.chromium.org/1470773003/diff/40001/src/transitions.h File src/transitions.h (right): https://codereview.chromium.org/1470773003/diff/40001/src/transitions.h#newcode105 src/transitions.h:105: static bool CompactPrototypeTransitionArray(FixedArray* array); ...
5 years ago (2015-11-25 12:38:05 UTC) #6
ulan
Thanks for review. https://codereview.chromium.org/1470773003/diff/40001/src/transitions.h File src/transitions.h (right): https://codereview.chromium.org/1470773003/diff/40001/src/transitions.h#newcode105 src/transitions.h:105: static bool CompactPrototypeTransitionArray(FixedArray* array); On 2015/11/25 ...
5 years ago (2015-11-25 13:12:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470773003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470773003/60001
5 years ago (2015-11-25 13:13:12 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-11-25 13:38:59 UTC) #11
commit-bot: I haz the power
5 years ago (2015-11-25 13:39:19 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7a21cdafaf665e05700e84de1081b5479c69342a
Cr-Commit-Position: refs/heads/master@{#32272}

Powered by Google App Engine
This is Rietveld 408576698