diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-05-02 10:27:26 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-05-02 11:20:24 -0700 |
commit | 89a201e599da95d88590c7b4d069b76735e20fa8 (patch) | |
tree | c01361799ceb663110ed8fb87f9f3d2d35ea22b5 /runtime/gc/gc_cause.h | |
parent | 6a6a5304e75a1af484975cedc832d0a80c3e5e61 (diff) | |
download | android_art-89a201e599da95d88590c7b4d069b76735e20fa8.tar.gz android_art-89a201e599da95d88590c7b4d069b76735e20fa8.tar.bz2 android_art-89a201e599da95d88590c7b4d069b76735e20fa8.zip |
Add GC cause to WaitForGcToComplete message.
Change-Id: I8fe107d90a84de065c407b8d29fd106267ac440d
Diffstat (limited to 'runtime/gc/gc_cause.h')
-rw-r--r-- | runtime/gc/gc_cause.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/gc/gc_cause.h b/runtime/gc/gc_cause.h index 7499b9e074..10e6667e11 100644 --- a/runtime/gc/gc_cause.h +++ b/runtime/gc/gc_cause.h @@ -35,6 +35,10 @@ enum GcCause { kGcCauseForNativeAlloc, // GC triggered for a collector transition. kGcCauseCollectorTransition, + // Not a real GC cause, used when we disable moving GC (currently for GetPrimitiveArrayCritical). + kGcCauseDisableMovingGc, + // Not a real GC cause, used when we trim the heap. + kGcCauseTrim, }; const char* PrettyCause(GcCause cause); |