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

Issue 3167047: Jingle_glue bugfixes. (Closed)

Created:
10 years, 4 months ago by Sergey Ulanov
Modified:
9 years, 7 months ago
CC:
chromium-reviews, dmac, awong, garykac, Paweł Hajdan Jr., Sergey Ulanov
Visibility:
Public.

Description

Jingle_glue bugfixes. Fixed Closed() methods in JingleChannel and JingleClient so that they are not blocking and guarantee that callback is not called afterwards. Changed JingleThread shutdown mechanism so that the thread doesn't stop until all tasks are finished. JingleClient now uses LocalTunnelSessionClient that allows local connections. BUG=52889 TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57770

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : unittests! #

Patch Set 4 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -205 lines) Patch
M remoting/client/chromoting_client.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/jingle_glue/jingle_channel.h View 1 2 4 chunks +26 lines, -8 lines 0 comments Download
M remoting/jingle_glue/jingle_channel.cc View 1 2 4 chunks +50 lines, -15 lines 0 comments Download
M remoting/jingle_glue/jingle_channel_unittest.cc View 3 chunks +102 lines, -62 lines 0 comments Download
M remoting/jingle_glue/jingle_client.h View 1 2 6 chunks +19 lines, -6 lines 0 comments Download
M remoting/jingle_glue/jingle_client.cc View 1 2 7 chunks +117 lines, -84 lines 0 comments Download
A remoting/jingle_glue/jingle_client_unittest.cc View 1 chunk +108 lines, -0 lines 0 comments Download
M remoting/jingle_glue/jingle_test_client.cc View 6 chunks +24 lines, -5 lines 0 comments Download
M remoting/jingle_glue/jingle_thread.h View 1 2 3 chunks +11 lines, -7 lines 0 comments Download
M remoting/jingle_glue/jingle_thread.cc View 1 2 3 4 chunks +66 lines, -14 lines 0 comments Download
M remoting/remoting.gyp View 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Sergey Ulanov
10 years, 4 months ago (2010-08-26 21:27:26 UTC) #1
Alpha Left Google
The code looks good. Is it possible for to add tests for jingle_client and jingle_channel ...
10 years, 4 months ago (2010-08-26 21:55:01 UTC) #2
Sergey Ulanov
On 2010/08/26 21:55:01, Alpha wrote: > The code looks good. Is it possible for to ...
10 years, 3 months ago (2010-08-27 00:58:55 UTC) #3
Alpha Left Google
awsome. LGTM.
10 years, 3 months ago (2010-08-27 22:45:15 UTC) #4
Timur Iskhodzhanov
Sergey, please watch the Memory waterfall after commiting to remoting/libjingle. TSan bots report data races ...
10 years, 3 months ago (2010-08-29 16:28:49 UTC) #5
Sergey Ulanov
Timur, Is it possible to automate failure handling for the memory waterfall? I.e. if there ...
10 years, 3 months ago (2010-08-30 19:23:55 UTC) #6
Timur Iskhodzhanov
10 years, 3 months ago (2010-08-30 19:46:16 UTC) #7
I'd love to, see http://code.google.com/p/chromium/issues/detail?id=51585
Unfortunately, I'm not a buildbot guru to implement it myself :-(

Looks like libjingle/remoting produces more reports per commit just because it
actually deals with threads, without Chromium "mostly single-threaded" model.

Do you use ThreadSanitizer locally? Do you use linux_tsan trybots?
Probably it can help you in development and local testing.

On 2010/08/30 19:23:55, sergeyu wrote:
> Timur,
> Is it possible to automate failure handling for the memory waterfall? I.e.
> if there is new failure it could automatically send e-mail the people who
> committed changes in the interval when the new issue was introduced. This
> would avoid the need to watch the memory waterfall after every check-in
> (waste of time for everybody) and you wouldn't have to nag me every time
> something fails due to my check-in. It would be even better if the bots
> could automatically create a bug and add suppressions if a failure doesn't
> get fixed in a certain period of time. Can this be implemented?
> 
> On Sun, Aug 29, 2010 at 9:28 AM, <mailto:timurrrr@chromium.org> wrote:
> 
> > Sergey, please watch the Memory waterfall after commiting to
> > remoting/libjingle.
> > TSan bots report data races (maybe, benign) on all three platforms.
> >
> > Please take a look at the reports and file appropriate bugs/commit
> > suppressions.
> > I'd be good if you add me to the cc so I can verify on Monday.
> >
> >
> > http://codereview.chromium.org/3167047/show
> >
>

Powered by Google App Engine
This is Rietveld 408576698