commit | 6693742a2842ece89e90d1fd8e412c2c9d62cd22 | [log] [tgz] |
---|---|---|
author | Albert Mingkun Yang <albertnetymk@google.com> | Fri Nov 30 17:52:01 2018 +0000 |
committer | Albert Mingkun Yang <albertnetymk@google.com> | Mon Dec 03 16:21:30 2018 +0000 |
tree | 30d8e1e584f5785f82589d3ed6b930fa20f65327 | |
parent | 9f27ffa9031431267ae59ee3469c853355811916 [diff] |
ART: use freed_bytes in reclaimed_bytes_ratio calculation This commit uses actual bytes reclaimed in the current GC cycle instead of difference of num_bytes_allocated_ before and after GC cycle for reclaimed_bytes_ratio calculation. The latter could be affected by mutators running concurrently to GC cycle. Test: Run art with -XX:DumpGCPerformanceOnShutdown on some benchmarks. Bug: 112187497 Change-Id: Icc845566bfe14706b0a4a60ee33b64a4f5e66942