1. A method comprising: processing a shared closure by removing, from each non-shareable object in a closure, content that causes each of said non-shareable objects to be non-shareable: serializing each of said non-shareable objects by removing said content that causes each of said non-shareable objects to be non-shareable; de-serializing each of said non-shareable objects after receiving them from a shared memory; comparing contents of each said non-shareable object; and determining whether each of said non-shareable objects contain equal content before said serialization and after said de-serialization.