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

Issue 2725813002: (CANCELED) Forbid GC during copyToVector() (Closed)

Created:
3 years, 9 months ago by kojii
Modified:
3 years, 9 months ago
Reviewers:
haraken, sof
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, Mikhail
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Forbid GC during copyToVector() copyToVector() forbits GC while it resizes its incoming vecotr in the previous patch[1]. This patch extends it further, forbids GC during the whole copyToVector() operation. This can prevent GC collecting weak references during iterations and de-referencing. This is a speculative fix. [1] http://crrev.com/1652953002 BUG=581698, 689949, 696231

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M third_party/WebKit/Source/wtf/HashCountedSet.h View 1 chunk +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/wtf/HashSet.h View 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
kojii
PTAL. This is #1 of https://crbug.com/696231#c13.
3 years, 9 months ago (2017-03-01 06:15:48 UTC) #5
haraken
LGTM
3 years, 9 months ago (2017-03-01 06:19:14 UTC) #6
sof
The backing buffers are stack reachable during iteration, for any conservative GC, so I don't ...
3 years, 9 months ago (2017-03-01 06:22:55 UTC) #7
kojii
I'm not an expert on memory, more on fonts staff. From the crash reports, after ...
3 years, 9 months ago (2017-03-01 06:28:30 UTC) #8
sof
On 2017/03/01 06:28:30, kojii wrote: > I'm not an expert on memory, more on fonts ...
3 years, 9 months ago (2017-03-01 06:39:44 UTC) #9
kojii
On 2017/03/01 at 06:39:44, sigbjornf wrote: > On 2017/03/01 06:28:30, kojii wrote: > > I'm ...
3 years, 9 months ago (2017-03-01 06:49:49 UTC) #10
sof
On 2017/03/01 06:49:49, kojii wrote: > On 2017/03/01 at 06:39:44, sigbjornf wrote: > > On ...
3 years, 9 months ago (2017-03-01 06:58:53 UTC) #11
sof
On 2017/03/01 06:58:53, sof wrote: > On 2017/03/01 06:49:49, kojii wrote: > > On 2017/03/01 ...
3 years, 9 months ago (2017-03-01 07:03:31 UTC) #12
kojii
On 2017/03/01 at 07:03:31, sigbjornf wrote: > > > > > > I also prepared ...
3 years, 9 months ago (2017-03-01 07:11:17 UTC) #13
sof
On 2017/03/01 07:11:17, kojii wrote: > On 2017/03/01 at 07:03:31, sigbjornf wrote: > > > ...
3 years, 9 months ago (2017-03-01 07:27:45 UTC) #14
kojii
Thank you so much for your prompt support. I sent that one to your review, ...
3 years, 9 months ago (2017-03-01 07:33:18 UTC) #15
sof
On 2017/03/01 07:33:18, kojii wrote: > Thank you so much for your prompt support. > ...
3 years, 9 months ago (2017-03-01 07:43:59 UTC) #16
kojii
3 years, 9 months ago (2017-03-14 08:01:17 UTC) #19
Canceling this.

Powered by Google App Engine
This is Rietveld 408576698