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

Issue 2241533002: android: Switch CleanupReference to PhantomReference (Closed)

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

Description

android: Switch CleanupReference to PhantomReference Again. This time due to correctness. Want to experiment on beta to see how big the impact is. Quoting from the comment in the CL: NOTE Using PhantonReference instead of WeakReference is required for correctness. WeakReferences are enqueued before finalizers are called, and finalizers can resurrect the referent object. PhantomReference does delay clean up more compared to WeakReference. BUG=618807 Committed: https://crrev.com/630d88124d2e5a3fda6b9fd25d06eaa1af403fca Cr-Commit-Position: refs/heads/master@{#411417}

Patch Set 1 #

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

Messages

Total messages: 17 (10 generated)
boliu
Dave are you around to stamp?
4 years, 4 months ago (2016-08-11 17:52:12 UTC) #4
boliu
yaron to stamp?
4 years, 4 months ago (2016-08-11 19:15:59 UTC) #9
Yaron
On 2016/08/11 19:15:59, boliu wrote: > yaron to stamp? lgtm
4 years, 4 months ago (2016-08-11 20:38:12 UTC) #10
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/2241533002/1
4 years, 4 months ago (2016-08-11 20:41:31 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-11 20:45:44 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/630d88124d2e5a3fda6b9fd25d06eaa1af403fca Cr-Commit-Position: refs/heads/master@{#411417}
4 years, 4 months ago (2016-08-11 20:47:28 UTC) #16
boliu
4 years, 4 months ago (2016-08-18 16:47:03 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2255253002/ by boliu@chromium.org.

The reason for reverting is: Experiment out. Reverting. See bug for reasoning..

Powered by Google App Engine
This is Rietveld 408576698