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

Issue 1319163003: Oilpan: Remove a redundant loop from NormalPageHeap::allocatePage() (Closed)

Created:
5 years, 3 months ago by haraken
Modified:
5 years, 3 months ago
Reviewers:
sof
CC:
blink-reviews, oilpan-reviews, kouhei+heap_chromium.org, Mads Ager (chromium)
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: Remove a redundant loop from NormalPageHeap::allocatePage() http://codereview.chromium.org/393823003 added the loop for the purposes of repeatedly polling the cross-thread-usable free page pool. As we now take the first page & don't add that to the pool, the loop looks redundant. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201903

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -12 lines) Patch
M Source/platform/heap/HeapPage.cpp View 1 2 chunks +9 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
haraken
PTAL
5 years, 3 months ago (2015-09-08 07:06:58 UTC) #2
sof
https://codereview.chromium.org/1319163003/diff/1/Source/platform/heap/HeapPage.cpp File Source/platform/heap/HeapPage.cpp (right): https://codereview.chromium.org/1319163003/diff/1/Source/platform/heap/HeapPage.cpp#newcode543 Source/platform/heap/HeapPage.cpp:543: RELEASE_ASSERT(result); Don't you need to assign pageMemory?
5 years, 3 months ago (2015-09-08 07:13:11 UTC) #3
haraken
On 2015/09/08 07:13:11, sof wrote: > https://codereview.chromium.org/1319163003/diff/1/Source/platform/heap/HeapPage.cpp > File Source/platform/heap/HeapPage.cpp (right): > > https://codereview.chromium.org/1319163003/diff/1/Source/platform/heap/HeapPage.cpp#newcode543 > ...
5 years, 3 months ago (2015-09-08 07:18:35 UTC) #4
sof
lgtm I'd be fine with doing something weaker (RELEASE_ASSERT(pageMemory); at the end of the loop ...
5 years, 3 months ago (2015-09-08 07:24:27 UTC) #5
haraken
> I'd be fine with doing something weaker (RELEASE_ASSERT(pageMemory); at the end > of the ...
5 years, 3 months ago (2015-09-08 07:30:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319163003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319163003/20001
5 years, 3 months ago (2015-09-08 07:30:53 UTC) #8
commit-bot: I haz the power
5 years, 3 months ago (2015-09-08 08:32:24 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201903

Powered by Google App Engine
This is Rietveld 408576698