Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(9)

Issue 1159143006: Oilpan: Remove Heap::s_lastGCWasConservative (Closed)

Created:
4 years, 11 months ago by haraken
Modified:
4 years, 10 months ago
CC:
blink-reviews, oilpan-reviews, kouhei+heap_chromium.org, Mads Ager (chromium), Erik Corry Chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: Remove Heap::s_lastGCWasConservative I don't think we need the flag. This flag is used to determine whether we should run a transitive closure after doing the conservative scanning. However, we won't need the flag to make the decision. If the marking stack is not empty, we need to run the transitive closure. Otherwise, we don't. Thus this CL removes Heap::s_lastGCWasConservative. BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196760

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -21 lines) Patch
M Source/platform/heap/Heap.h View 1 2 3 4 2 chunks +0 lines, -5 lines 0 comments Download
M Source/platform/heap/Heap.cpp View 1 2 3 4 5 4 chunks +3 lines, -16 lines 0 comments Download

Messages

Total messages: 36 (12 generated)
haraken
PTAL If I'm not missing something, I think we can remove the flag.
4 years, 11 months ago (2015-05-29 01:55:24 UTC) #2
sof
unit tests are breaking + have you considered that this will potentially invoke the ephemeron ...
4 years, 11 months ago (2015-05-29 07:46:09 UTC) #3
haraken
On 2015/05/29 07:46:09, sof wrote: > unit tests are breaking + have you considered that ...
4 years, 11 months ago (2015-05-29 11:08:08 UTC) #4
sof
https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp#newcode1931 Source/platform/heap/Heap.cpp:1931: processMarkingStack(s_markingVisitor); Hmm, I think I prefer it the way ...
4 years, 11 months ago (2015-05-29 12:54:47 UTC) #5
haraken
https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp#newcode1931 Source/platform/heap/Heap.cpp:1931: processMarkingStack(s_markingVisitor); On 2015/05/29 12:54:47, sof wrote: > Hmm, I ...
4 years, 11 months ago (2015-05-29 14:38:24 UTC) #6
sof
On 2015/05/29 14:38:24, haraken wrote: > https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp > File Source/platform/heap/Heap.cpp (right): > > https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp#newcode1931 > ...
4 years, 11 months ago (2015-05-29 15:03:33 UTC) #7
haraken
On 2015/05/29 15:03:33, sof wrote: > On 2015/05/29 14:38:24, haraken wrote: > > > https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp ...
4 years, 11 months ago (2015-05-29 15:18:08 UTC) #8
sof
Cc'ing Erik in case he has fond memories or suggestions to share.
4 years, 11 months ago (2015-05-29 15:33:23 UTC) #9
Erik Corry Chromium.org
I can't see any reasons not to commit this, but see comments. The important thing ...
4 years, 11 months ago (2015-05-30 22:21:50 UTC) #11
Erik Corry Chromium.org
The lastGCWasConservative flag used to be used in an assert. I guess this assert was ...
4 years, 11 months ago (2015-05-30 22:22:47 UTC) #12
haraken
https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (left): https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp#oldcode1930 Source/platform/heap/Heap.cpp:1930: processMarkingStack(s_markingVisitor); On 2015/05/30 22:21:50, Erik Corry Chromium.org wrote: > ...
4 years, 11 months ago (2015-06-01 01:29:37 UTC) #13
haraken
Erik: Friendly ping on this?
4 years, 11 months ago (2015-06-03 03:56:04 UTC) #14
Erik Corry Chromium.org
lgtm https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (left): https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp#oldcode1930 Source/platform/heap/Heap.cpp:1930: processMarkingStack(s_markingVisitor); On 2015/06/01 01:29:37, haraken wrote: > On ...
4 years, 10 months ago (2015-06-08 13:26:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159143006/60001
4 years, 10 months ago (2015-06-08 13:42:49 UTC) #17
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
4 years, 10 months ago (2015-06-08 13:42:53 UTC) #19
haraken
> https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp > File Source/platform/heap/Heap.cpp (left): > > https://codereview.chromium.org/1159143006/diff/40001/Source/platform/heap/Heap.cpp#oldcode1930 > Source/platform/heap/Heap.cpp:1930: processMarkingStack(s_markingVisitor); > On 2015/06/01 ...
4 years, 10 months ago (2015-06-08 13:43:00 UTC) #20
haraken
keishi-san: rubbuerstamp this please? It seems Erik LGed from a different account.
4 years, 10 months ago (2015-06-09 04:41:11 UTC) #22
sof
lgtm
4 years, 10 months ago (2015-06-09 09:47:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159143006/60001
4 years, 10 months ago (2015-06-09 10:20:53 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/46914) mac_blink_rel on tryserver.blink (JOB_FAILED, ...
4 years, 10 months ago (2015-06-09 10:24:26 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159143006/80001
4 years, 10 months ago (2015-06-09 10:34:54 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/46919)
4 years, 10 months ago (2015-06-09 10:43:16 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159143006/100001
4 years, 10 months ago (2015-06-09 11:07:27 UTC) #35
commit-bot: I haz the power
4 years, 10 months ago (2015-06-09 13:12:41 UTC) #36
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196760

Powered by Google App Engine
This is Rietveld 408576698