summaryrefslogtreecommitdiffstats
path: root/libart
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-01-09 00:13:02 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-09 00:13:04 +0000
commit2ea4821ebb81c38c4bc077744385ef7ffbddece1 (patch)
treeb46fd6f269f2140cfcac93a74a62734f5849639b /libart
parentfac834b863bf75a34a181036ded4662cf7dac102 (diff)
parent26408c2c83bf134adb32b992feb74753824682b3 (diff)
downloadlibcore-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.java6
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();