[jbossts-issues] [JBoss JIRA] Closed: (JBTM-644) tune Uid to byte packing
Mark Little (JIRA)
jira-events at lists.jboss.org
Thu Nov 5 08:37:05 EST 2009
[ https://jira.jboss.org/jira/browse/JBTM-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Little closed JBTM-644.
Added getBytes (caches contents) and modified UidHelper. Also added a new constructor to Uid to allow creation from byte array.
> tune Uid to byte packing
> Key: JBTM-644
> URL: https://jira.jboss.org/jira/browse/JBTM-644
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Transaction Core
> Affects Versions: 4.8.0
> Reporter: Jonathan Halliday
> Assignee: Mark Little
> Fix For: 4.9.0
> Packing Uids into a serialized form is a very common operation and must be as fast as possible.
> There are opportunities for performance improvement in packing the Uid into a byte, then putting that byte into the output buffer, rather than packing the Uid into the output buffer directly. This is due to the performance of the output buffer packing methods (syncronization and flush) which is really a separate problem.
> Having the ability to get a byte representation of a Uid is also useful for improving Xid creation performance, as it can simply be array copied into the new Xid.
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues