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

Issue 1802233002: Use PhantomReference for CleanupReference (Closed)

Created:
4 years, 9 months ago by boliu
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Use PhantomReference for CleanupReference PhantomReference is less of a burden on dalvik/art gc systems. Committed: https://crrev.com/9b1b3599500eca2b8d664714edf6b6771a789123 Cr-Commit-Position: refs/heads/master@{#381173}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -6 lines) Patch
M content/public/android/java/src/org/chromium/content/common/CleanupReference.java View 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
boliu
ptal
4 years, 9 months ago (2016-03-15 03:11:10 UTC) #3
michaelbai
On 2016/03/15 03:11:10, boliu wrote: > ptal The information I got is PhantomRefs is faster ...
4 years, 9 months ago (2016-03-15 03:19:36 UTC) #4
boliu
On 2016/03/15 03:19:36, michaelbai wrote: > On 2016/03/15 03:11:10, boliu wrote: > > ptal > ...
4 years, 9 months ago (2016-03-15 03:22:04 UTC) #5
David Trainor- moved to gerrit
lgtm thanks for the thread!
4 years, 9 months ago (2016-03-15 03:22:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1802233002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1802233002/1
4 years, 9 months ago (2016-03-15 03:48:22 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-15 04:21:03 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/9b1b3599500eca2b8d664714edf6b6771a789123 Cr-Commit-Position: refs/heads/master@{#381173}
4 years, 9 months ago (2016-03-15 04:22:04 UTC) #12
boliu
4 years, 9 months ago (2016-03-17 19:15:03 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1815443002/ by boliu@chromium.org.

The reason for reverting is: Found out that PhantomReference can survive (ie not
get enqueued) a GC pass. Tested on Android M.

This would cause unacceptable memory regressions for apps that relies on gc to
clean up webview..

Powered by Google App Engine
This is Rietveld 408576698