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

Issue 1082973003: Force full GC whenever CollectAllGarbage is meant to trigger a full GC. (Closed)

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

Description

Force full GC whenever CollectAllGarbage is meant to trigger a full GC. Add a finalize incremental marking mode for CollectAllGarbage to finalize incremental marking when incremental marking is in progress, but we want a full gc at a given CollectAllGarbage call site. Default mode for CollectAllGarbage is finalize incremental marking and perform a full GC. BUG= Committed: https://crrev.com/9c105f0940ba757364ac18fcdf649815ec5ab2d1 Cr-Commit-Position: refs/heads/master@{#27831}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -224 lines) Patch
M src/heap/heap.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/mark-compact.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/mark-compact-inl.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/test-accessors.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 71 chunks +87 lines, -90 lines 0 comments Download
M test/cctest/test-api-interceptors.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-constantpool.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-debug.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-deoptimization.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-feedback-vector.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/test-heap.cc View 1 61 chunks +87 lines, -85 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-mark-compact.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/test-mementos.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-object-observe.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/test-symbols.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-threads.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-unboxed-doubles.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/test-weakmaps.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/test-weaksets.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-weaktypedarrays.cc View 1 7 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
Hannes Payer (out of office)
5 years, 8 months ago (2015-04-14 06:58:47 UTC) #2
ulan
lgtm
5 years, 8 months ago (2015-04-14 07:17:18 UTC) #3
ulan
lgtm if the comments are addressed. Nit: remove comma in description "Default mode for CollectAllGarbage ...
5 years, 8 months ago (2015-04-14 11:56:49 UTC) #4
Hannes Payer (out of office)
https://codereview.chromium.org/1082973003/diff/40001/src/heap/heap.h File src/heap/heap.h (right): https://codereview.chromium.org/1082973003/diff/40001/src/heap/heap.h#newcode760 src/heap/heap.h:760: static const int kFinalizeIncrementalMarkingMask = 3; On 2015/04/14 11:56:49, ...
5 years, 8 months ago (2015-04-15 06:44:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1082973003/40001
5 years, 8 months ago (2015-04-15 06:44:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1082973003/60001
5 years, 8 months ago (2015-04-15 06:45:30 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-15 07:10:53 UTC) #12
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/9c105f0940ba757364ac18fcdf649815ec5ab2d1 Cr-Commit-Position: refs/heads/master@{#27831}
5 years, 8 months ago (2015-04-15 07:10:59 UTC) #13
Michael Achenbach
On 2015/04/15 07:10:59, I haz the power (commit-bot) wrote: > Patchset 4 (id:??) landed as ...
5 years, 8 months ago (2015-04-15 08:29:40 UTC) #14
Michael Achenbach
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1088083002/ by machenbach@chromium.org. ...
5 years, 8 months ago (2015-04-15 09:06:57 UTC) #15
Yang
5 years, 8 months ago (2015-04-15 09:24:03 UTC) #16
Message was sent while issue was closed.
On 2015/04/15 09:06:57, Michael Achenbach wrote:
> A revert of this CL (patchset #4 id:60001) has been created in
> https://codereview.chromium.org/1088083002/ by mailto:machenbach@chromium.org.
> 
> The reason for reverting is: [Sheriff] Breaks
>
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20...
> and maybe leads to timeouts/crashes on layout test bots:
>
http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064/builds/3002.

This CL fixes the arm64 issue that caused this revert:
https://codereview.chromium.org/1088863002/

Powered by Google App Engine
This is Rietveld 408576698