Stefan Fitzek, Philipp Lengauer, Hanspeter Mössenböck,
"DuckTracks: Path-based Object Allocation Tracking"
, in ICPE '17: ICPE '17 Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering, ACM, Seite(n) 327-330, 2017, ISBN: 978-1-4503-4404-3
DuckTracks: Path-based Object Allocation Tracking
Sprache des Titels:
ICPE '17 Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering
Efficiently tracking an application's object allocations is of interest for areas such as memory leak detection or memory usage optimization. The state-of-the-art approach of instrumenting every allocation site with a counter introduces considerable overhead. This makes allocation tracking in a production environment unattractive. Our approach reduces this overhead by instrumenting control flow paths instead of allocation sites and dynamically determining the hot path through a method. Our ultimate goal is to reduce the amount of required counter increments by such a degree that using it in production environments becomes feasible. We present an implementation of our approach for the Java HotSpot Virtual Machine. First measurements already show a reduction of required increments of up to 30% compared to the state of the art.