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

Issue 676603002: Oilpan: HeapTest: FinalizationObserverWithHashMap should not leave a Persistent object. (Closed)

Created:
6 years, 2 months ago by tkent
Modified:
6 years, 2 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, kouhei+heap_chromium.org, Mads Ager (chromium), mkwst+moarreviews_chromium.org
Project:
blink
Visibility:
Public.

Description

Oilpan: HeapTest: FinalizationObserverWithHashMap should not leave a Persistent object. Clear the Persistent HeapHashMap at the end of HeapTest.FinalizationObserver. HeapTest.CheckAndMarkPointer assumes there are no Persistent objects, and triggers GC without visiting Persistent handles. If HeapTest.CheckAndMarkPointer is executed after HeapTest.FinalizationObserver, and a normal GC happens, a Visitor accesses deallocated memory pointed by the Persistent. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184238

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M Source/platform/heap/HeapTest.cpp View 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
tkent
Please review this.
6 years, 2 months ago (2014-10-23 05:02:37 UTC) #2
haraken
LGTM
6 years, 2 months ago (2014-10-23 05:06:15 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/676603002/1
6 years, 2 months ago (2014-10-23 05:12:41 UTC) #5
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 07:34:16 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 184238

Powered by Google App Engine
This is Rietveld 408576698