summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAlbert Mingkun Yang <albertnetymk@google.com>2018-11-30 17:52:01 +0000
committerAlbert Mingkun Yang <albertnetymk@google.com>2018-12-03 16:21:30 +0000
commit6693742a2842ece89e90d1fd8e412c2c9d62cd22 (patch)
tree30d8e1e584f5785f82589d3ed6b930fa20f65327 /compiler/optimizing/graph_visualizer.cc
parent9f27ffa9031431267ae59ee3469c853355811916 (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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions