A method is described that involves processing a shared closure by
removing, from each non-shareable object in a closure, content that
causes each of the non-shareable objects to be non-shareable. The method
also involves serializing each of the non-shareable objects by removing
the content that causes each of the non-shareable objects to be
non-shareable. The method also entails de-serializing each of the
non-shareable objects after receiving them from a shared memory. The
method also entails comparing contents of each non-shareable object, and,
determining whether each of the non-shareable objects contain equal
content before the serialization and after the de-serialization.