summaryrefslogtreecommitdiff
path: root/runtime/class_table_test.cc
diff options
context:
space:
mode:
author Sekyeong Heo <sekyeong.heo@samsung.com> 2021-08-25 20:26:58 +0900
committer Hans Boehm <hboehm@google.com> 2021-09-13 21:50:08 +0000
commit6e458174b331e5acfc67792b571fccc5bbcd2f50 (patch)
treefa6d23c214e8ba2187143e593b30c26934edbbc9 /runtime/class_table_test.cc
parent3de02fb67de386368c9fe39ab5a0133afcf1d785 (diff)
[art] Add GetPreOomeGcCount API
It's difficult to analyze sluggish issue due to excessive GC. So, I would like to add API for GC status check. GetPreOomeGcCount Return the count of Pre OOME(Out-Of-Memory-Exception) GC. When process almost ran out of heap, so just before throw OOME, this GC will be performed. How to use : Debug.getRuntimeStat("art.gc.pre-oome-gc-count") This must be submitted with the libcore code. Test: check value using Debug.getRuntimeStat() Change-Id: I00885c3c60a28e606f22e93c774805b5acc7c3e7
Diffstat (limited to 'runtime/class_table_test.cc')
0 files changed, 0 insertions, 0 deletions