OSDN Git Service

Differentiate between native alloc and normal background GC
authorMathieu Chartier <mathieuc@google.com>
Mon, 17 Apr 2017 22:24:43 +0000 (15:24 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 18 Apr 2017 17:29:02 +0000 (17:29 +0000)
commit35b59a262f660adaf30db11bc0c3d14bb56ebf79
treed022eb3b0d944daa054e124165c8b8e988c9c9d8
parent36831abc29f76baee9a7673a2c18465f33df3f05
Differentiate between native alloc and normal background GC

Added a new GC cause kGcCauseForNativeAllocBackground.

Bug: 35872915

Test: test-art-host

Change-Id: I94e17f8bd53af29f2862b9910bd8abd2df97e229
runtime/gc/gc_cause.cc
runtime/gc/gc_cause.h
runtime/gc/heap.cc
runtime/gc/heap.h
runtime/native/dalvik_system_VMRuntime.cc