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

Issue 405403003: [oilpan]: Change marking to do precise roots first and conservative second. (Closed)

Created:
6 years, 5 months ago by wibling-chromium
Modified:
6 years, 5 months ago
CC:
blink-reviews, haraken, kouhei+heap_chromium.org, Mads Ager (chromium)
Project:
blink
Visibility:
Public.

Description

[oilpan]: Change marking to do precise roots first and conservative second. This way we avoid conservatively scanning objects that were reachable through precise pointers. R=ager@chromium.org, erik.corry@gmail.com, haraken@chromium.org, oilpan-reviews@chromium.org, sigbjornf@opera.com, tkent@chromium.org, zerny@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178664

Patch Set 1 #

Total comments: 6

Patch Set 2 : review feedback #

Total comments: 2

Patch Set 3 : review feedback #

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

Messages

Total messages: 10 (0 generated)
wibling-chromium
6 years, 5 months ago (2014-07-22 09:29:51 UTC) #1
haraken
LGTM. Nice change. https://codereview.chromium.org/405403003/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/405403003/diff/1/Source/platform/heap/Heap.cpp#newcode2085 Source/platform/heap/Heap.cpp:2085: // 2. trace object reachable from ...
6 years, 5 months ago (2014-07-22 11:32:43 UTC) #2
wibling-chromium
Thanks for the review! https://codereview.chromium.org/405403003/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/405403003/diff/1/Source/platform/heap/Heap.cpp#newcode2085 Source/platform/heap/Heap.cpp:2085: // 2. trace object reachable ...
6 years, 5 months ago (2014-07-22 11:56:56 UTC) #3
Erik Corry
lgtm https://codereview.chromium.org/405403003/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/405403003/diff/1/Source/platform/heap/Heap.cpp#newcode2092 Source/platform/heap/Heap.cpp:2092: // 4. trace objects reachable from the stack ...
6 years, 5 months ago (2014-07-22 12:39:27 UTC) #4
wibling-chromium
Thanks for the review! https://codereview.chromium.org/405403003/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/405403003/diff/1/Source/platform/heap/Heap.cpp#newcode2092 Source/platform/heap/Heap.cpp:2092: // 4. trace objects reachable ...
6 years, 5 months ago (2014-07-22 12:46:33 UTC) #5
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 5 months ago (2014-07-22 12:52:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/405403003/40001
6 years, 5 months ago (2014-07-22 12:53:26 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 5 months ago (2014-07-22 14:00:10 UTC) #8
commit-bot: I haz the power
Change committed as 178664
6 years, 5 months ago (2014-07-22 15:07:35 UTC) #9
johnme
6 years, 5 months ago (2014-07-22 16:25:52 UTC) #10
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/409183002/ by johnme@chromium.org.

The reason for reverting is: Broke blink_heap_unittests on
http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Android%20%28Ne...

Specifically, HeapTest.CrossThreadPointerToOrphanedPage fails with:

../../third_party/WebKit/Source/platform/heap/HeapTest.cpp:4685: Failure
Value of: CrossThreadObject::s_destructorCalls
  Actual: 1
Expected: 0.

Powered by Google App Engine
This is Rietveld 408576698