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

Issue 2873093003: Shape Detection Android: unmap() and close() SharedBufferHandles explicitly (Closed)

Created:
3 years, 7 months ago by mcasas
Modified:
3 years, 7 months ago
CC:
agrieve+watch_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Shape Detection Android: unmap() and close() SharedBufferHandles explicitly This CL unmap()s and close()s the handle after it has been used, preventing the harmless but annoying Log [1] 05-10 12:05:23.985 30381 30389 W HandleImpl: Handle was not closed. and optimising resource usage by not having to wait until Handle finalize() to release them. [1] https://cs.chromium.org/chromium/src/mojo/android/system/src/org/chromium/mojo/system/impl/HandleBase.java?type=cs&l=133 BUG=720234 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2873093003 Cr-Commit-Position: refs/heads/master@{#470990} Committed: https://chromium.googlesource.com/chromium/src/+/672bf2b83170847857eea5ac6d0e2f1f71dacac4

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java View 2 chunks +6 lines, -0 lines 2 comments Download

Messages

Total messages: 12 (6 generated)
mcasas
rockot@ tiny CL, ptal (or fwd appropriately, thx!)
3 years, 7 months ago (2017-05-10 19:17:22 UTC) #4
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2873093003/diff/1/services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java File services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java (right): https://codereview.chromium.org/2873093003/diff/1/services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java#newcode39 services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java:39: try { My Mojo-Java-fu is weak. Why is this ...
3 years, 7 months ago (2017-05-11 15:42:08 UTC) #5
mcasas
https://codereview.chromium.org/2873093003/diff/1/services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java File services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java (right): https://codereview.chromium.org/2873093003/diff/1/services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java#newcode39 services/shape_detection/android/java/src/org/chromium/shape_detection/SharedBufferUtils.java:39: try { On 2017/05/11 15:42:07, Ken Rockot wrote: > ...
3 years, 7 months ago (2017-05-11 16:02:48 UTC) #6
Ken Rockot(use gerrit already)
lgtm
3 years, 7 months ago (2017-05-11 16:31:51 UTC) #7
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/2873093003/1
3 years, 7 months ago (2017-05-11 16:34:46 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 17:17:05 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/672bf2b83170847857eea5ac6d0e...

Powered by Google App Engine
This is Rietveld 408576698