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

Issue 629903003: Check if there is still time before finalizing an incremental collection. (Closed)

Created:
6 years, 2 months ago by Hannes Payer (out of office)
Modified:
6 years, 2 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Check if there is still time before finalizing an incremental collection. BUG= R=erik.corry@gmail.com, ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24567

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -38 lines) Patch
M src/heap/gc-idle-time-handler.h View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M src/heap/gc-idle-time-handler.cc View 1 2 3 4 5 chunks +20 lines, -9 lines 0 comments Download
M src/heap/heap.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 3 4 3 chunks +27 lines, -12 lines 0 comments Download
M src/heap/incremental-marking.h View 1 2 3 4 5 6 5 chunks +18 lines, -2 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 5 6 6 chunks +34 lines, -8 lines 0 comments Download
M src/heap/mark-compact.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 4 5 6 7 1 chunk +42 lines, -0 lines 0 comments Download
M test/unittests/heap/gc-idle-time-handler-unittest.cc View 1 2 3 4 5 chunks +18 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
Hannes Payer (out of office)
adding tests...
6 years, 2 months ago (2014-10-06 12:10:24 UTC) #2
ulan
Looks good, will review again after tests are added. https://codereview.chromium.org/629903003/diff/60001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/629903003/diff/60001/src/heap/heap.cc#newcode4348 src/heap/heap.cc:4348: ...
6 years, 2 months ago (2014-10-06 12:36:01 UTC) #3
Erik Corry Chromium.org
https://codereview.chromium.org/629903003/diff/60001/src/heap/gc-idle-time-handler.h File src/heap/gc-idle-time-handler.h (right): https://codereview.chromium.org/629903003/diff/60001/src/heap/gc-idle-time-handler.h#newcode158 src/heap/gc-idle-time-handler.h:158: static bool DoMarkCompact(size_t idle_time_in_ms, size_t size_of_objects, I would prefer ...
6 years, 2 months ago (2014-10-06 14:56:47 UTC) #5
Hannes Payer (out of office)
https://codereview.chromium.org/629903003/diff/60001/src/heap/gc-idle-time-handler.h File src/heap/gc-idle-time-handler.h (right): https://codereview.chromium.org/629903003/diff/60001/src/heap/gc-idle-time-handler.h#newcode158 src/heap/gc-idle-time-handler.h:158: static bool DoMarkCompact(size_t idle_time_in_ms, size_t size_of_objects, On 2014/10/06 14:56:47, ...
6 years, 2 months ago (2014-10-07 13:41:11 UTC) #6
Erik Corry Chromium.org
I like the change, but I have some objections. https://codereview.chromium.org/629903003/diff/80001/src/heap/incremental-marking.h File src/heap/incremental-marking.h (right): https://codereview.chromium.org/629903003/diff/80001/src/heap/incremental-marking.h#newcode92 src/heap/incremental-marking.h:92: ...
6 years, 2 months ago (2014-10-08 10:17:14 UTC) #7
Hannes Payer (out of office)
https://codereview.chromium.org/629903003/diff/80001/src/heap/incremental-marking.h File src/heap/incremental-marking.h (right): https://codereview.chromium.org/629903003/diff/80001/src/heap/incremental-marking.h#newcode92 src/heap/incremental-marking.h:92: static const size_t kMaxIdleMarkingDelayCounter = 3; On 2014/10/08 10:17:14, ...
6 years, 2 months ago (2014-10-13 13:25:45 UTC) #8
Hannes Payer (out of office)
https://codereview.chromium.org/629903003/diff/80001/src/heap/incremental-marking.h File src/heap/incremental-marking.h (right): https://codereview.chromium.org/629903003/diff/80001/src/heap/incremental-marking.h#newcode92 src/heap/incremental-marking.h:92: static const size_t kMaxIdleMarkingDelayCounter = 3; On 2014/10/08 10:17:14, ...
6 years, 2 months ago (2014-10-13 13:25:46 UTC) #9
ulan
lgtm https://codereview.chromium.org/629903003/diff/100001/test/cctest/test-heap.cc File test/cctest/test-heap.cc (right): https://codereview.chromium.org/629903003/diff/100001/test/cctest/test-heap.cc#newcode2201 test/cctest/test-heap.cc:2201: marking->Step(100 * MB, IncrementalMarking::NO_GC_VIA_STACK_GUARD, "100 * MB" looks ...
6 years, 2 months ago (2014-10-13 13:40:04 UTC) #10
Hannes Payer (out of office)
https://codereview.chromium.org/629903003/diff/100001/test/cctest/test-heap.cc File test/cctest/test-heap.cc (right): https://codereview.chromium.org/629903003/diff/100001/test/cctest/test-heap.cc#newcode2201 test/cctest/test-heap.cc:2201: marking->Step(100 * MB, IncrementalMarking::NO_GC_VIA_STACK_GUARD, On 2014/10/13 13:40:04, ulan wrote: ...
6 years, 2 months ago (2014-10-13 13:53:32 UTC) #11
Hannes Payer (out of office)
https://codereview.chromium.org/629903003/diff/100001/test/cctest/test-heap.cc File test/cctest/test-heap.cc (right): https://codereview.chromium.org/629903003/diff/100001/test/cctest/test-heap.cc#newcode2201 test/cctest/test-heap.cc:2201: marking->Step(100 * MB, IncrementalMarking::NO_GC_VIA_STACK_GUARD, On 2014/10/13 13:40:04, ulan wrote: ...
6 years, 2 months ago (2014-10-13 13:53:32 UTC) #12
Erik Corry
lgtm
6 years, 2 months ago (2014-10-13 13:54:10 UTC) #14
Hannes Payer (out of office)
6 years, 2 months ago (2014-10-13 16:28:11 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 (id:260001) manually as 24567 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698