summaryrefslogtreecommitdiffstats
path: root/runtime/gc/gc_cause.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc/gc_cause.h')
-rw-r--r--runtime/gc/gc_cause.h4
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);