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

Issue 413133006: Revert "Revert of [oilpan]: Change marking to do precise roots first and conservative second. (http… (Closed)

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

Description

Revert "Revert of [oilpan]: Change marking to do precise roots first and conservative second. (https://codereview.chromium.org/405403003/)" This reverts commit 765af3a45b15c4e5f65810c8ed8e20d44da04034. AFAICT the CrossThreadPointerToOrphanedPage test was a bit flaky in the sense that the compiler was free to reuse the slot where the stackPtrValue was located after the RELEASE_ASSERT. However the test assumed the stackPtrValue was on the stack (to mimic a rogue integer value finding a dead object) when doing the conservative GC further down. After my change to Heap::CollectGarbage it seemed the android compiler no longer kept the value around and hence the test started failing. I have now moved the RELEASE_ASSERT down to after the point where we do the conservative GC which makes the test pass on android again. I uploaded the unfixed diff first and then a second diff (moved RELEASE_ASSERT) with the fix. 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=178845

Patch Set 1 #

Patch Set 2 : moved RELEASE_ASSERT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -35 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 4 chunks +42 lines, -11 lines 0 comments Download
M Source/platform/heap/HeapTest.cpp View 1 2 chunks +7 lines, -2 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: 6 (0 generated)
wibling-chromium
6 years, 5 months ago (2014-07-24 13:47:17 UTC) #1
haraken
LGTM
6 years, 5 months ago (2014-07-24 14:09:17 UTC) #2
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 5 months ago (2014-07-24 14:45:32 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/413133006/20001
6 years, 5 months ago (2014-07-24 14:45:43 UTC) #4
commit-bot: I haz the power
Change committed as 178845
6 years, 5 months ago (2014-07-24 14:56:39 UTC) #5
Mads Ager (chromium)
6 years, 4 months ago (2014-08-13 09:07:53 UTC) #6
Message was sent while issue was closed.
A revert of this CL (patchset #2) has been created in
https://codereview.chromium.org/464253002/ by ager@chromium.org.

The reason for reverting is: This breaks strongification of ephemerons when
there are pointers on the stack. See:

https://codereview.chromium.org/461413002/

for details.
.

Powered by Google App Engine
This is Rietveld 408576698