[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-777) Revise creation of Object*Stream on Remoting/our Marshallers
Tim Fox (JIRA)
jira-events at jboss.com
Tue Feb 6 18:32:31 EST 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-777?page=comments#action_12352493 ]
Tim Fox commented on JBMESSAGING-777:
-------------------------------------
The marshaller only uses serialization for remoting pings and other remoting internal invocations, any other invocations do not use serialization anyway.
> Revise creation of Object*Stream on Remoting/our Marshallers
> ------------------------------------------------------------
>
> Key: JBMESSAGING-777
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-777
> Project: JBoss Messaging
> Issue Type: Bug
> Affects Versions: 1.2.0.Beta2
> Reporter: Clebert Suconic
> Assigned To: Ovidiu Feodorov
> Fix For: 1.2.0.CR1
>
>
> We have requested to create a new Object*Stream on every request... delegating the Object*Stream creation to the marshaller.
> A Object*Stream should be reused.. and created only once... Especially if using JavaSerialization, since :
> I - its creation is considered expensive
> II - Object*Stream has a weird internal buffer. overusing that stream creationg might cause intermitent errors IMO. It would be better if we could avoid recreating the streaming every time.
--
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
More information about the jboss-jira
mailing list