diff options
author | 2021-08-25 20:26:58 +0900 | |
---|---|---|
committer | 2021-09-13 21:50:08 +0000 | |
commit | 6e458174b331e5acfc67792b571fccc5bbcd2f50 (patch) | |
tree | fa6d23c214e8ba2187143e593b30c26934edbbc9 /runtime/native/java_lang_VMClassLoader.cc | |
parent | 3de02fb67de386368c9fe39ab5a0133afcf1d785 (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/native/java_lang_VMClassLoader.cc')
0 files changed, 0 insertions, 0 deletions