diff options
| author | 2016-02-23 10:52:23 +0000 | |
|---|---|---|
| committer | 2016-02-23 10:52:23 +0000 | |
| commit | e4c77b4d37024c1ed74e72494e69605942fead61 (patch) | |
| tree | 5f0de5a63585b661ec0e551c6d172a441150569f /runtime/runtime.cc | |
| parent | 08e992e41e5e234ecc6b38a4ab53d4876fd077b6 (diff) | |
| parent | ca76a1a0c1737b3e04961ba382c113102fdc00bf (diff) | |
Merge "Dex-wide ArenaPool scoping for AOT compilation"
Diffstat (limited to 'runtime/runtime.cc')
| -rw-r--r-- | runtime/runtime.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 861bd85283..eb5455a4cd 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -1300,6 +1300,10 @@ void Runtime::InitNativeMethods() { VLOG(startup) << "Runtime::InitNativeMethods exiting"; } +void Runtime::ReclaimArenaPoolMemory() { + arena_pool_->LockReclaimMemory(); +} + void Runtime::InitThreadGroups(Thread* self) { JNIEnvExt* env = self->GetJniEnv(); ScopedJniEnvLocalRefState env_state(env); |