diff options
author | Carl Shapiro <cshapiro@google.com> | 2011-01-18 22:11:40 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-01-18 22:11:40 -0800 |
commit | a8e6ab1e9bd402eb5a96b768676fc4636df9f693 (patch) | |
tree | 9bf0bee7d74a31242fec30469aab3dd5b0de8392 /dalvik/src | |
parent | aafa54807e792b5f951ea3f1cf2ecd993b534d26 (diff) | |
parent | b0886c849bcbf547b1983bfcb09b9ea4623c70c8 (diff) | |
download | libcore-a8e6ab1e9bd402eb5a96b768676fc4636df9f693.zip libcore-a8e6ab1e9bd402eb5a96b768676fc4636df9f693.tar.gz libcore-a8e6ab1e9bd402eb5a96b768676fc4636df9f693.tar.bz2 |
am b0886c84: am d26f4e0d: am 6fcb5467: Merge "Expose an interface for clearing a heap growth limit." into honeycomb
* commit 'b0886c849bcbf547b1983bfcb09b9ea4623c70c8':
Expose an interface for clearing a heap growth limit.
Diffstat (limited to 'dalvik/src')
-rw-r--r-- | dalvik/src/main/java/dalvik/system/VMRuntime.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dalvik/src/main/java/dalvik/system/VMRuntime.java b/dalvik/src/main/java/dalvik/system/VMRuntime.java index fea7302..373dd03 100644 --- a/dalvik/src/main/java/dalvik/system/VMRuntime.java +++ b/dalvik/src/main/java/dalvik/system/VMRuntime.java @@ -173,4 +173,10 @@ public final class VMRuntime { * give you the address of a copy of the array when in forcecopy mode. */ public native long addressOf(Object array); + + /** + * Removes any growth limits, allowing the application to allocate + * up to the maximum heap size. + */ + public native void clearGrowthLimit(); } |