Marshalling enhancements to reduce complexity and cost:
Remove CacheMarshaller/GlobalMarshaller differentiation.(see ISPN-6905) Manually encode all known types within Infinispan.(see ISPN-6906) For potentially unknown types, e.g. keys, values, use JBoss Marshalling.(see ISPN-6906)
- 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.(see ISPN-6906) Avoid thread locals, e.g. those thread locals used to keep marshallers around.(see ISPN-6906) Get rid of VersionAwareMarshaller.(see ISPN-6905) Deprecate (then remove...) AdvancedCache.with(Classloader) method.(see ISPN-6905)