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

Issue 1308733004: Android: Fix memory leak for remote MediaStream (Closed)

Created:
5 years, 4 months ago by magjed_webrtc
Modified:
5 years, 3 months ago
Reviewers:
AlexG, tommi
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 19

Patch Set 2 : Addressing comments #

Total comments: 1

Patch Set 3 : use helper NewGlobalRef function instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -55 lines) Patch
M talk/app/webrtc/java/jni/jni_helpers.h View 1 1 chunk +0 lines, -14 lines 0 comments Download
M talk/app/webrtc/java/jni/jni_helpers.cc View 1 1 chunk +0 lines, -11 lines 0 comments Download
M talk/app/webrtc/java/jni/peerconnection_jni.cc View 1 2 7 chunks +46 lines, -26 lines 0 comments Download
M webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308733004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308733004/60001
5 years, 4 months ago (2015-08-25 16:02:19 UTC) #2
magjed_webrtc
Please take a look.
5 years, 4 months ago (2015-08-25 16:37:42 UTC) #7
tommi
lgtm https://codereview.webrtc.org/1308733004/diff/60001/talk/app/webrtc/java/jni/peerconnection_jni.cc File talk/app/webrtc/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1308733004/diff/60001/talk/app/webrtc/java/jni/peerconnection_jni.cc#newcode283 talk/app/webrtc/java/jni/peerconnection_jni.cc:283: (jlong)stream_refcounted.release()); reinterpret_cast<>
5 years, 4 months ago (2015-08-25 16:45:21 UTC) #8
AlexG
https://codereview.webrtc.org/1308733004/diff/60001/talk/app/webrtc/java/jni/peerconnection_jni.cc File talk/app/webrtc/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1308733004/diff/60001/talk/app/webrtc/java/jni/peerconnection_jni.cc#newcode211 talk/app/webrtc/java/jni/peerconnection_jni.cc:211: OnRemoveStream(streams_.begin()->first); it is probably not worth to call OnRemoveStream ...
5 years, 4 months ago (2015-08-25 17:16:58 UTC) #9
AlexG
https://codereview.webrtc.org/1308733004/diff/60001/talk/app/webrtc/java/jni/peerconnection_jni.cc File talk/app/webrtc/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1308733004/diff/60001/talk/app/webrtc/java/jni/peerconnection_jni.cc#newcode353 talk/app/webrtc/java/jni/peerconnection_jni.cc:353: jni()->CallVoidMethod( On 2015/08/25 17:16:58, AlexG wrote: > With this ...
5 years, 4 months ago (2015-08-25 17:19:59 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 4 months ago (2015-08-25 17:48:21 UTC) #12
magjed_webrtc
https://codereview.webrtc.org/1308733004/diff/60001/talk/app/webrtc/java/jni/peerconnection_jni.cc File talk/app/webrtc/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1308733004/diff/60001/talk/app/webrtc/java/jni/peerconnection_jni.cc#newcode211 talk/app/webrtc/java/jni/peerconnection_jni.cc:211: OnRemoveStream(streams_.begin()->first); On 2015/08/25 17:16:58, AlexG wrote: > it is ...
5 years, 4 months ago (2015-08-25 21:30:52 UTC) #13
AlexG
lgtm https://codereview.webrtc.org/1308733004/diff/80001/talk/app/webrtc/java/jni/peerconnection_jni.cc File talk/app/webrtc/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1308733004/diff/80001/talk/app/webrtc/java/jni/peerconnection_jni.cc#newcode332 talk/app/webrtc/java/jni/peerconnection_jni.cc:332: remote_streams_[stream] = jni()->NewGlobalRef(j_stream); nit: use NewGlobalRef(jni, j_stream) and ...
5 years, 3 months ago (2015-08-26 17:18:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308733004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308733004/100001
5 years, 3 months ago (2015-08-27 08:53:12 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_rel on ...
5 years, 3 months ago (2015-08-27 10:53:19 UTC) #19
magjed_webrtc
5 years, 3 months ago (2015-08-27 11:40:15 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:100001) manually as
1c3dd38cb819733fa3f558063d4b0c135c5be6e7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698