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

Issue 2583363002: Tracing HeapListHashSet<> iterators. (Closed)

Created:
4 years ago by sof
Modified:
4 years ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), blink-reviews-css, haraken, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, blink-reviews-wtf_chromium.org, Mikhail, kouhei+heap_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tracing HeapListHashSet<> iterators. The HeapListHashSet<> iterators keep a pair of heap references, which really should be traced like any other such reference during GCs. This isn't unsafe for the stack allocated uses of these iterators, but one Blink object (CSSSegmentedFontFace) keeps an iterator as a field on the heap, we really have to trace these on-heap part object iterators. Add the needed infrastructure and use it for CSSSegmentedFontFace. R=haraken BUG=672030 Committed: https://crrev.com/de25fdc5de7ddb6353360e9424cef0792d70587e Cr-Commit-Position: refs/heads/master@{#439748}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -0 lines) Patch
M third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapAllocator.h View 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/ListHashSet.h View 4 chunks +22 lines, -0 lines 2 comments Download

Messages

Total messages: 17 (11 generated)
sof
please take a look. The only "on heap" iterator in Blink; its untraced references do ...
4 years ago (2016-12-19 22:27:17 UTC) #4
haraken
LGTM https://codereview.chromium.org/2583363002/diff/1/third_party/WebKit/Source/wtf/ListHashSet.h File third_party/WebKit/Source/wtf/ListHashSet.h (right): https://codereview.chromium.org/2583363002/diff/1/third_party/WebKit/Source/wtf/ListHashSet.h#newcode665 third_party/WebKit/Source/wtf/ListHashSet.h:665: m_iterator.trace(visitor); Just to confirm: This iterator is just ...
4 years ago (2016-12-20 02:53:05 UTC) #8
sof
https://codereview.chromium.org/2583363002/diff/1/third_party/WebKit/Source/wtf/ListHashSet.h File third_party/WebKit/Source/wtf/ListHashSet.h (right): https://codereview.chromium.org/2583363002/diff/1/third_party/WebKit/Source/wtf/ListHashSet.h#newcode665 third_party/WebKit/Source/wtf/ListHashSet.h:665: m_iterator.trace(visitor); On 2016/12/20 02:53:05, haraken wrote: > > Just ...
4 years ago (2016-12-20 06:37:09 UTC) #9
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/2583363002/1
4 years ago (2016-12-20 08:08:06 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-20 08:14:30 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-20 08:18:30 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/de25fdc5de7ddb6353360e9424cef0792d70587e
Cr-Commit-Position: refs/heads/master@{#439748}

Powered by Google App Engine
This is Rietveld 408576698