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

Issue 2690943009: Move postGC out of CrossThreadPersistentRegion::LockScope (Closed)

Created:
3 years, 10 months ago by keishi
Modified:
3 years, 10 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2987
Project:
chromium
Visibility:
Public.

Description

Move postGC out of CrossThreadPersistentRegion::LockScope Some finalizers/prefinalizers acquire locks, causing a dead lock when CrossThreadPersistent tries to acquire the CrossThreadPersistentRegion lock. This CL moves the postGC step outside of the CrossThreadPersistentRegion::LockScope. This should be okay as the CrossThreadPersistentRegion::LockScope only exists to avoid add/deletetion of CrossThreadPersistentNodes during marking. BUG=684856, 685624, 685624 Review-Url: https://codereview.chromium.org/2686533003 Cr-Commit-Position: refs/heads/master@{#450251} (cherry picked from commit 52b19c8f68c222c08944af937a01f3ff7e46705c) Review-Url: https://codereview.chromium.org/2690943009 . Cr-Commit-Position: refs/branch-heads/2987@{#543} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} Committed: https://chromium.googlesource.com/chromium/src/+/04062423c93acc7bcd6d313c480d3f29bbf382e2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -97 lines) Patch
M third_party/WebKit/Source/platform/heap/Heap.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/Heap.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/HeapTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.h View 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 3 chunks +101 lines, -95 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
keishi
3 years, 10 months ago (2017-02-16 11:11:03 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
04062423c93acc7bcd6d313c480d3f29bbf382e2.

Powered by Google App Engine
This is Rietveld 408576698