]
Bela Ban commented on JGRP-268:
-------------------------------
As part of changing this, I also changed Message.setObject()/getObject(), so that they now
use Util.objectFrom/ToByteBuffer()
Util.objectFromByteBuffer() is inefficient
------------------------------------------
Key: JGRP-268
URL:
http://jira.jboss.com/jira/browse/JGRP-268
Project: JGroups
Issue Type: Task
Affects Versions: 2.3, 2.2.9.2, 2.2.9 SP3 (2.2.9.3), 2.3 SP1
Reporter: Bela Ban
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.4
The implementation tries to unmarshal as an Externalizable/Serializable, when an
exception is thrown, we try for Streamable. This is inefficient when we send a lot of
Streamable types, because we always run into the exception.
Fix: add an additional byte in objectToByteBuffer() which marks the object as Streamable
or Externalizable/Serializable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: