summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRockchip2015-03-26 19:18:19 +0800
committerRockchip2015-03-26 19:18:19 +0800
commitdfded19a16e5d48b1df540de1e3352e1e64d342e (patch)
tree21b91e08002227734c31c307aba12b490f65e97d
parentd13a3ed392718229dbbf392d69ccade67f2466c8 (diff)
libart add method clampGrowthLimit
-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 43fa00e..3d7faba 100644
--- a/libart/src/main/java/dalvik/system/VMRuntime.java
+++ b/libart/src/main/java/dalvik/system/VMRuntime.java
@@ -272,6 +272,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();