summaryrefslogtreecommitdiffstats
path: root/runtime/gc/heap.h
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-06-10 17:20:54 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2015-06-10 17:20:54 -0700
commit9a7fffb36bad0bf3e7bac21dd223d975bc9dde55 (patch)
tree58591407efac04f264bf97543d5b1a51616767e5 /runtime/gc/heap.h
parent21cb657159b3e93cc888685ade83f8fc519290be (diff)
downloadart-9a7fffb36bad0bf3e7bac21dd223d975bc9dde55.tar.gz
art-9a7fffb36bad0bf3e7bac21dd223d975bc9dde55.tar.bz2
art-9a7fffb36bad0bf3e7bac21dd223d975bc9dde55.zip
Reset GC performance stats at zygote fork.
So GCs before a zygote fork won't be attributed to an app. Bug: 21491908 Change-Id: Ib37bc587e0f039ef8faeabe63dec19de49501863
Diffstat (limited to 'runtime/gc/heap.h')
-rw-r--r--runtime/gc/heap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/gc/heap.h b/runtime/gc/heap.h
index 81a97414ba..dac747b854 100644
--- a/runtime/gc/heap.h
+++ b/runtime/gc/heap.h
@@ -597,6 +597,7 @@ class Heap {
// GC performance measuring
void DumpGcPerformanceInfo(std::ostream& os);
+ void ResetGcPerformanceInfo();
// Returns true if we currently care about pause times.
bool CareAboutPauseTimes() const {