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

Issue 1963453002: Accurately measure current persistent count while running termination GC. (Closed)

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

Description

Accurately measure current persistent count while running termination GC. Follow up on r392263 and have it really behave as wanted -- when measuring |currentCount|, the live persistent count, while cleaning out the worker's heap in ThreadState::runTerminationGC(), we need to initially sample it _after_ having released thread-local static persistents. Otherwise the count would be overestimated first time around, which could lead to prematurely reaching a fixed point. And at a fixed point that would falsely indicate that persistents were leaking. R=haraken BUG= NOTRY=true Committed: https://crrev.com/f95b4b4576f71a7f4e3a98b1a53be3b3bdea62ac Cr-Commit-Position: refs/heads/master@{#392272}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
sof
please take a look. with the previous, we risk leaving the loop one (or more) ...
4 years, 7 months ago (2016-05-07 19:06:34 UTC) #2
haraken
LGTM
4 years, 7 months ago (2016-05-08 00:21:13 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1963453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1963453002/1
4 years, 7 months ago (2016-05-08 04:32:55 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/223904)
4 years, 7 months ago (2016-05-08 05:34:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1963453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1963453002/1
4 years, 7 months ago (2016-05-08 05:35:52 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-08 05:42:48 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-08 05:43:56 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f95b4b4576f71a7f4e3a98b1a53be3b3bdea62ac
Cr-Commit-Position: refs/heads/master@{#392272}

Powered by Google App Engine
This is Rietveld 408576698