diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-01-09 00:13:02 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-01-09 00:13:04 +0000 |
commit | 2ea4821ebb81c38c4bc077744385ef7ffbddece1 (patch) | |
tree | b46fd6f269f2140cfcac93a74a62734f5849639b /libart | |
parent | fac834b863bf75a34a181036ded4662cf7dac102 (diff) | |
parent | 26408c2c83bf134adb32b992feb74753824682b3 (diff) | |
download | libcore-2ea4821ebb81c38c4bc077744385ef7ffbddece1.zip libcore-2ea4821ebb81c38c4bc077744385ef7ffbddece1.tar.gz libcore-2ea4821ebb81c38c4bc077744385ef7ffbddece1.tar.bz2 |
Merge "Add VMRuntime.clampGrowthLimit"
Diffstat (limited to 'libart')
-rw-r--r-- | libart/src/main/java/dalvik/system/VMRuntime.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libart/src/main/java/dalvik/system/VMRuntime.java b/libart/src/main/java/dalvik/system/VMRuntime.java index b054fb3..b885ed2 100644 --- a/libart/src/main/java/dalvik/system/VMRuntime.java +++ b/libart/src/main/java/dalvik/system/VMRuntime.java @@ -276,6 +276,12 @@ public final class VMRuntime { public native void clearGrowthLimit(); /** + * Make the current growth limit the new non growth limit capacity by releasing pages which + * are after the growth limit but before the non growth limit capacity. + */ + public native void clampGrowthLimit(); + + /** * Returns true if either a Java debugger or native debugger is active. */ public native boolean isDebuggerActive(); |