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

Issue 1424573003: Sync remaining allocation size on in-place backing store recycling. (Closed)

Created:
5 years, 1 month ago by sof
Modified:
5 years, 1 month ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, blink-reviews, kouhei+heap_chromium.org, oilpan-reviews, Mads Ager (chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sync remaining allocation size on in-place backing store recycling. When a heap's current allocation point can simply be moved after the tail object allocation is either freed, expanded or shrunk, make sure the snapshot'ed m_lastRemainingAllocationSize is then always adjusted at the same time. Not doing so risks later re-syncs of m_lastRemaininingAllocationSize to be invoked on a "bigger" heap than last time, i.e., m_lastRemainingAllocationSize < m_remainingAllocationSize, which is an unexpected state to be in. Simply avoid that state from ever being entered, by synchronously updating m_lastRemainingAllocationSize. setRemainingAllocationSize(size_t) handles this, along with updating the overall heap allocation counts. R=haraken BUG=420515 Committed: https://crrev.com/61b83e2ec049a9aa5343ff0072cdcae420d4943b Cr-Commit-Position: refs/heads/master@{#357292}

Patch Set 1 #

Patch Set 2 : rename as setRemainingAllocationSize() #

Patch Set 3 : minor edits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -15 lines) Patch
M third_party/WebKit/Source/platform/heap/HeapPage.h View 1 2 1 chunk +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapPage.cpp View 1 2 4 chunks +18 lines, -12 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
sof
please take a look. Going after flaky asserts like, https://storage.googleapis.com/chromium-layout-test-archives/WebKit_Mac_Oilpan__dbg_/14827/layout-test-results/animations/interpolation/filter-interpolation-crash-log.txt https://storage.googleapis.com/chromium-layout-test-archives/WebKit_Mac_Oilpan__dbg_/14827/layout-test-results/animations/interpolation/transform-interpolation-crash-log.txt I think the problem ...
5 years, 1 month ago (2015-11-01 12:18:50 UTC) #3
haraken
On 2015/11/01 12:18:50, sof wrote: > please take a look. > > Going after flaky ...
5 years, 1 month ago (2015-11-01 17:45:43 UTC) #4
sof
On 2015/11/01 17:45:43, haraken wrote: > On 2015/11/01 12:18:50, sof wrote: > > please take ...
5 years, 1 month ago (2015-11-01 19:35:10 UTC) #5
haraken
On 2015/11/01 19:35:10, sof wrote: > On 2015/11/01 17:45:43, haraken wrote: > > On 2015/11/01 ...
5 years, 1 month ago (2015-11-01 19:44:20 UTC) #6
sof
On 2015/11/01 19:44:20, haraken wrote: > On 2015/11/01 19:35:10, sof wrote: > > On 2015/11/01 ...
5 years, 1 month ago (2015-11-01 19:48:58 UTC) #7
haraken
On 2015/11/01 19:48:58, sof wrote: > On 2015/11/01 19:44:20, haraken wrote: > > On 2015/11/01 ...
5 years, 1 month ago (2015-11-01 19:55:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424573003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424573003/40001
5 years, 1 month ago (2015-11-01 19:58:00 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-01 21:09:05 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-11-01 21:09:59 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/61b83e2ec049a9aa5343ff0072cdcae420d4943b
Cr-Commit-Position: refs/heads/master@{#357292}

Powered by Google App Engine
This is Rietveld 408576698