diff options
author | Sekyeong Heo <sekyeong.heo@samsung.com> | 2020-12-22 19:38:28 +0900 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2021-05-13 08:39:27 +0000 |
commit | b1db5a110d312c5a51a52f7f6bc870f9205b6ff8 (patch) | |
tree | 9ab0ca4cc92dda3b9ebcbaf32583463e0f25ea86 /compiler/optimizing/load_store_analysis.h | |
parent | f7f97d2c3e847e68f87490e110e192dd587572bb (diff) |
[art] Add GetObjectsAllocated and TotalTimeWaitingForGc APIs
It's difficult to analyze sluggish issue due to excessive GC.
So, I would like to add APIs for GC status check.
GetObjectsAllocated : return count of allocated objects.
how to use : Debug.getRuntimeStat("art.gc.objects-allocated)
TotalTimeWaitingForGc : return total waiting time for GC.
how to use : Debug.getRuntimeStat("art.gc.total-time-waiting-for-gc")
This must be submitted with the libcore code.
Test: check value using Debug.getRuntimeStat()
Change-Id: I2e865957ddb7e8cb5ac955e65a18d2aaffe4c672
Diffstat (limited to 'compiler/optimizing/load_store_analysis.h')
0 files changed, 0 insertions, 0 deletions