MarshalledValue mv2 = new MarshalledValue(
value, false, extractCacheMarshaller(cache(0, "replSync")));
// Simulate that the marshalled value had a bigger value before
mv2.instance = prevBytes;
mv2.serialize();
// Now back to the original instance and force it to serialize again
mv2.instance = value;
mv2.raw = null;
mv2.serialize();
mv2.instance = null;