作者: Martin Hirzel , Amer Diwan , Antony Hosking
关键词: Real-time computing 、 Tree traversal 、 Leak detector 、 Liveness 、 Garbage collection 、 Computer engineering 、 Computer science 、 Type theory 、 Leak detection 、 Garbage 、 Reachability
摘要: The effectiveness of garbage collectors and leak detectors in identifying dead objects depends on the "accuracy" their reachability traversal. Accuracy has two orthogonal dimensions: (i) whether traversal can distinguish between pointers non-pointers (type accuracy), (ii) identify memory locations that will be dereferenced future (liveness accuracy). While prior work investigated importance type accuracy, there been little investigating liveness accuracy for collection or detection. This paper presents an experimental study We show while significantly improve a collector detector, simpler schemes are largely ineffective. One must analyze globals using interprocedural analysis to get significant benefit.