summaryrefslogtreecommitdiff
path: root/runtime/native/dalvik_system_VMRuntime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/native/dalvik_system_VMRuntime.cc')
-rw-r--r--runtime/native/dalvik_system_VMRuntime.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/native/dalvik_system_VMRuntime.cc b/runtime/native/dalvik_system_VMRuntime.cc
index 0e9660aaac..3658c9c31c 100644
--- a/runtime/native/dalvik_system_VMRuntime.cc
+++ b/runtime/native/dalvik_system_VMRuntime.cc
@@ -340,10 +340,8 @@ static void VMRuntime_requestHeapTrim(JNIEnv* env, jobject) {
static void VMRuntime_requestConcurrentGC(JNIEnv* env, jobject) {
gc::Heap *heap = Runtime::Current()->GetHeap();
- heap->RequestConcurrentGC(Thread::ForEnv(env),
- gc::kGcCauseBackground,
- true,
- heap->GetCurrentGcNum());
+ heap->RequestConcurrentGC(
+ Thread::ForEnv(env), gc::kGcCauseExplicitBackground, true, heap->GetCurrentGcNum());
}
static void VMRuntime_startHeapTaskProcessor(JNIEnv* env, jobject) {