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

Issue 1701963003: Filter invalid slots after array trimming. (Closed)

Created:
4 years, 10 months ago by ulan
Modified:
4 years, 10 months ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Filter invalid slots after array trimming. If sweeping is in progress then we need to filter out slots in free space after array trimming, because the sweeper will add the free space into free list. This CL also fixes a bug in SlotSet::RemoveRange. BUG=chromium:587004 LOG=NO TBR=hpayer@chromium.org Committed: https://crrev.com/017d128b6ea60fcadf675f53ee5e2ffe84c3a66c Cr-Commit-Position: refs/heads/master@{#34071}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix remove range #

Patch Set 3 : Fix windows signed/unsigned error #

Patch Set 4 : Fix test #

Patch Set 5 : Fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -40 lines) Patch
M src/heap/heap.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/heap.cc View 4 chunks +24 lines, -1 line 0 comments Download
M src/heap/remembered-set.h View 1 chunk +14 lines, -0 lines 0 comments Download
M src/heap/slot-set.h View 1 2 3 1 chunk +29 lines, -17 lines 0 comments Download
M test/cctest/heap/heap-tester.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/heap/test-heap.cc View 1 chunk +37 lines, -0 lines 0 comments Download
M test/unittests/heap/slot-set-unittest.cc View 1 2 3 4 1 chunk +34 lines, -21 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
ulan
PTAL https://codereview.chromium.org/1701963003/diff/1/src/heap/slot-set.h File src/heap/slot-set.h (right): https://codereview.chromium.org/1701963003/diff/1/src/heap/slot-set.h#newcode77 src/heap/slot-set.h:77: uint32_t current_bucket = start_bucket; Rewrote these parts to ...
4 years, 10 months ago (2016-02-16 19:42:25 UTC) #2
ulan
Hannes, I am going to land this now with tbr and will address your comments ...
4 years, 10 months ago (2016-02-17 10:09:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1701963003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1701963003/40001
4 years, 10 months ago (2016-02-17 10:10:01 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/13806)
4 years, 10 months ago (2016-02-17 10:38:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1701963003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1701963003/60001
4 years, 10 months ago (2016-02-17 11:21:35 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/13882) v8_linux_mips64el_compile_rel on tryserver.v8 (JOB_FAILED, ...
4 years, 10 months ago (2016-02-17 11:25:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1701963003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1701963003/80001
4 years, 10 months ago (2016-02-17 11:26:36 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-17 11:52:37 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 11:53:15 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/017d128b6ea60fcadf675f53ee5e2ffe84c3a66c
Cr-Commit-Position: refs/heads/master@{#34071}

Powered by Google App Engine
This is Rietveld 408576698