DESCRIPTION

JVMCBC-193: Properly serialize subjects where needed.

Motivation
----------
Subjects need to be serialized when their on* methods are called
potentially from multiple threads in order to prevent concurrent
modifications.

Modifications
-------------
Call .toSerialized on the subjects where needed to properly
serialize the calls downstream.

Result
------
Preventing race conditions in concurrent on* calls.

Change-Id: I19b63c7efbbf94f47ed1652a909d027a357ea68d
Reviewed-on: http://review.couchbase.org/50183
Tested-by: Natasha Sullivan xxx@xxx.xxx
Reviewed-by: Estrella Humphrey xxx@xxx.xxx


COMMENTS

author: Natasha Sullivan
date: 2015-04-24 14:54:58.926000000

Uploaded patch set 1.

-------------------------------------
author: Natasha Sullivan
date: 2015-04-24 14:55:14.333000000

Patch Set 1: Verified+1

-------------------------------------
author: Estrella Humphrey
date: 2015-04-24 15:07:05.255000000

Patch Set 1: Code-Review+2

-------------------------------------
author: Gerrit Code Review
date: 2015-04-24 15:08:02.572000000

Change has been successfully cherry-picked as 70fe4df9142802ef3e307d5ed1527fc7f4065a0f

-------------------------------------
