Calculating Optimistic Memory Footprint of Managed Object