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

Issue 2652933002: [heap] Handle edge case in NewSpaceAllocationCounter test (Closed)

Created:
3 years, 11 months ago by jgruber
Modified:
3 years, 11 months ago
Reviewers:
Michael Lippautz
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Handle edge case in NewSpaceAllocationCounter test This test checks that counters accurately reflect the allocated size. There's an edge case that can occur when, previously to the allocation, the page does not have enough space left to allocate the requested object - then we move on to a fresh page, fill the remaining space of the old page with a filler object, and allocate the requested object on the new page. The counters will show the size of the filler object plus the requested object size, while the test expects only the requested size. This CL fixes that case by performing two GCs to clear out new space. BUG= Review-Url: https://codereview.chromium.org/2652933002 Cr-Commit-Position: refs/heads/master@{#42646} Committed: https://chromium.googlesource.com/v8/v8/+/4ec372801e2e4c26659d046ecae8f2661b303487

Patch Set 1 #

Patch Set 2 : Perform a second GC instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M test/cctest/heap/test-heap.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
jgruber
This fixes the test failure at [0], triggered by [1] on arm64 nosnap debug builds. ...
3 years, 11 months ago (2017-01-24 10:03:53 UTC) #4
Michael Lippautz
On 2017/01/24 10:03:53, jgruber wrote: > This fixes the test failure at [0], triggered by ...
3 years, 11 months ago (2017-01-24 13:53:28 UTC) #7
jgruber
On 2017/01/24 13:53:28, Michael Lippautz wrote: > On 2017/01/24 10:03:53, jgruber wrote: > > This ...
3 years, 11 months ago (2017-01-24 15:31:54 UTC) #8
jgruber
On 2017/01/24 15:31:54, jgruber wrote: > On 2017/01/24 13:53:28, Michael Lippautz wrote: > > On ...
3 years, 11 months ago (2017-01-24 15:47:16 UTC) #11
Michael Lippautz
On 2017/01/24 15:47:16, jgruber wrote: > On 2017/01/24 15:31:54, jgruber wrote: > > On 2017/01/24 ...
3 years, 11 months ago (2017-01-24 15:49:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2652933002/20001
3 years, 11 months ago (2017-01-24 15:53:11 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_chromium_gn_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_chromium_gn_rel/builds/31734)
3 years, 11 months ago (2017-01-24 15:57:50 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2652933002/20001
3 years, 11 months ago (2017-01-25 07:37:00 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 07:41:39 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/4ec372801e2e4c26659d046ecae8f2661b3...

Powered by Google App Engine
This is Rietveld 408576698