Manik Surtani created ISPN-2022:
-----------------------------------
Summary: Make MarshalledValues immutable
Key: ISPN-2022
URL:
https://issues.jboss.org/browse/ISPN-2022
Project: Infinispan
Issue Type: Feature Request
Components: Marshalling
Affects Versions: 5.1.4.FINAL
Reporter: Manik Surtani
Assignee: Galder Zamarreño
Fix For: 5.1.x, 5.2.0.ALPHA1, 5.2.0.FINAL
MarshalledValues are not currently reused, so the containers could be made immutable.
Different subtypes would be needed as well, i.e., {{InstanceBaisedMarshalledValue}}, where
{{instance}} is {{final}} and {{raw}} then need not be volatile.
{{RawBiasedMarshalledValue}}, where {{raw}} is {{final}} and {{instance}} then need not be
volatile. {{serialisedSize}} and {{equalityPreferenceForInstance}} would be unnecessary.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira