]
Galder Zamarreño commented on ISPN-6498:
----------------------------------------
Those marshalling enhancements that can be implemented with little effort have been
factored out to ISPN-6905.
Marshalling enhancements
------------------------
Key: ISPN-6498
URL:
https://issues.jboss.org/browse/ISPN-6498
Project: Infinispan
Issue Type: Enhancement
Components: Marshalling
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Marshalling enhancements to reduce complexity and cost:
- Remove CacheMarshaller/GlobalMarshaller differentiation.
- Manually encode all known types within Infinispan.
- For potentially unknown types, e.g. keys, values, use JBoss Marshalling.
- Make dealing with unknown types and Strings pluggable so that other marshalling
frameworks can more easily be plugged and we can try alternative ways to encode Strings.
- Avoid reentrancy of marshalling, e.g. marshall a command, then marshall a marshalled
value...etc. With commands being encoded directly by us, no more need for reentrancy
support.
- Avoid thread locals, e.g. those thread locals used to keep marshallers around.
- Get rid of VersionAwareMarshaller.
- Deprecate (then remove...) AdvancedCache.with(Classloader) method.