DESCRIPTION

Remove slice before bytebuf copy

It is not necessary for the copy and reduces object allocation in TLAB
by almost 25%.

There are 34K objects in a 10 min 1000 limit travel sample run compared
to 43K objects in TLAB.

Change-Id: I0ad4cb6da83a63e3493165449a97f3250588f752


COMMENTS

author: Marques Ellis
date: 2017-09-05 17:19:19.527000000

Uploaded patch set 2.

-------------------------------------
author: Hugo Blankenship
date: 2017-09-05 17:19:25.212000000

Patch Set 2:

Build Started http://sdkbuilds.sc.couchbase.com/job/couchbase-jvm-core-test/78/

-------------------------------------
author: Hugo Blankenship
date: 2017-09-05 17:20:53.038000000

Patch Set 2: Verified+1

Build Successful 

http://sdkbuilds.sc.couchbase.com/job/couchbase-jvm-core-test/78/ : SUCCESS

-------------------------------------
author: Cory Peck
date: 2017-09-05 17:29:33.081000000

Patch Set 2: Code-Review+2

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