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

Issue 1720093002: Revert of Mojo C++ bindings: support sync methods - part 2 (Closed)

Created:
4 years, 10 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 10 months ago
Reviewers:
jam, yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Mojo C++ bindings: support sync methods - part 2 (patchset #6 id:100001 of https://codereview.chromium.org/1713203002/ ) Reason for revert: This change is triggering a use-of-uninitialized-value error on the Linux and Chrome OS MSan bots: https://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20ChromeOS%20MSan%20Tests/builds/7464 Original issue's description: > Mojo C++ bindings: support sync methods - part 2 > > This CL introduces the correct re-entrancy behavior: when a sync call is waiting > for response, allow incoming sync requests on the same thread to re-enter, async > messages are queued until the sync call completes. > > The following will be in future CLs: > - Support sync calls with associated interfaces. > > BUG=577699 > > Committed: https://crrev.com/083f46638041ba7d7620e47a7f9edf06982a9340 > Cr-Commit-Position: refs/heads/master@{#376751} TBR=jam@chromium.org,yzshen@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=577699 Committed: https://crrev.com/8017c320b4215892c4fdf339e75fea5d5a17ce16 Cr-Commit-Position: refs/heads/master@{#376793}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -731 lines) Patch
M mojo/mojo_public.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/connector.h View 3 chunks +6 lines, -34 lines 0 comments Download
M mojo/public/cpp/bindings/lib/connector.cc View 8 chunks +28 lines, -95 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 chunk +1 line, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/router.h View 4 chunks +5 lines, -31 lines 0 comments Download
M mojo/public/cpp/bindings/lib/router.cc View 8 chunks +28 lines, -100 lines 0 comments Download
D mojo/public/cpp/bindings/lib/sync_handle_watcher.h View 1 chunk +0 lines, -73 lines 0 comments Download
D mojo/public/cpp/bindings/lib/sync_handle_watcher.cc View 1 chunk +0 lines, -124 lines 0 comments Download
M mojo/public/cpp/bindings/message.h View 2 chunks +0 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/router_unittest.cc View 7 chunks +12 lines, -14 lines 0 comments Download
M mojo/public/cpp/bindings/tests/sync_method_unittest.cc View 3 chunks +13 lines, -228 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/test_sync_methods.mojom View 1 chunk +3 lines, -13 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/module.py View 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Reilly Grant (use Gerrit)
Created Revert of Mojo C++ bindings: support sync methods - part 2
4 years, 10 months ago (2016-02-22 20:13:36 UTC) #1
Reilly Grant (use Gerrit)
==20006==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0xaba009 in find<mojo::Handle> ./out/MSan/../../buildtools/third_party/libc++/trunk/include/__hash_table:2056:37 #1 0xaba009 in find ./out/MSan/../../buildtools/third_party/libc++/trunk/include/unordered_map:1144:0 #2 0xaba009 ...
4 years, 10 months ago (2016-02-22 20:15:05 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1720093002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1720093002/1
4 years, 10 months ago (2016-02-22 20:16:00 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-22 20:20:27 UTC) #6
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 20:21:17 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8017c320b4215892c4fdf339e75fea5d5a17ce16
Cr-Commit-Position: refs/heads/master@{#376793}

Powered by Google App Engine
This is Rietveld 408576698