View Single Post
  #3 (permalink)  
Old 05-16-2008
aozarov aozarov is offline
Registered User
 
Name: Arie Ozarov
Organization: hi5 Networks
Project: SOA
 
Join Date: Mar 2008
Posts: 36
The DirectBuffer vs non direct/heap buffer were done independently of ice.
The platform was Linux (Suse 10) and JVM is Sun JDK 1.6.

But I see this line:
moreData = handler.read(stream);
assert(stream.pos() == stream.size());

Doesn't it suggest you are expecting to fill the buffer (which was re-allocated to the size of the payload)?
Reply With Quote