OSDN Git Service

ART: Add forced garbage collection
authorAndreas Gampe <agampe@google.com>
Tue, 1 Nov 2016 02:31:03 +0000 (19:31 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 1 Nov 2016 02:32:35 +0000 (19:32 -0700)
commit8da6d03176651594b821cd3531894c372ca640d5
treea27252375bf41d47c7f3183cb021c65b6dbd3132
parent54b20eb52f7d8688032fb3bd6112e8db9772c4a7
ART: Add forced garbage collection

Add ForceGarbageCollection support to the agent interface.

Add a test.

Test: m test-art-host-run-test-913-heaps
Bug: 32516268
Change-Id: Iaa97520d1b9e4b0adf088ccdf9712193c485b7c5
13 files changed:
runtime/openjdkjvmti/OpenjdkJvmTi.cc
runtime/openjdkjvmti/heap.cc
runtime/openjdkjvmti/heap.h
test/913-heaps/build [new file with mode: 0755]
test/913-heaps/expected.txt [new file with mode: 0644]
test/913-heaps/heaps.cc [new file with mode: 0644]
test/913-heaps/heaps.h [new file with mode: 0644]
test/913-heaps/info.txt [new file with mode: 0644]
test/913-heaps/run [new file with mode: 0755]
test/913-heaps/src/Main.java [new file with mode: 0644]
test/Android.bp
test/Android.run-test.mk
test/ti-agent/common_load.cc