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 SP1, 2.3, 2.2.9 SP3 (2.2.9.3), 2.2.9.2
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:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira