diff options
author | Steve Kondik <shade@chemlab.org> | 2012-11-18 20:31:31 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-11-18 20:31:31 -0800 |
commit | 6218bfec34349602e4aa7af9af632fe65549025a (patch) | |
tree | 36544a9648a26c1b6397b9e980c94fa8714dd530 | |
parent | e06ba1386d78a9932164b730ed5bca7b17178926 (diff) | |
download | libcore-6218bfec34349602e4aa7af9af632fe65549025a.zip libcore-6218bfec34349602e4aa7af9af632fe65549025a.tar.gz libcore-6218bfec34349602e4aa7af9af632fe65549025a.tar.bz2 |
Revert "Add two more GC parameter interfaces"
This reverts commit ebeb9f27c92843caa75b3efdcea091516521c9a0.
-rw-r--r-- | dalvik/src/main/java/dalvik/system/VMRuntime.java | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dalvik/src/main/java/dalvik/system/VMRuntime.java b/dalvik/src/main/java/dalvik/system/VMRuntime.java index 0f7bb67..c37290d 100644 --- a/dalvik/src/main/java/dalvik/system/VMRuntime.java +++ b/dalvik/src/main/java/dalvik/system/VMRuntime.java @@ -107,30 +107,6 @@ public final class VMRuntime { } /** - * @hide - */ - public float setTargetHeapIdealFree(int size) { - /* Synchronize to make sure that only one thread gets - * a given "old" value if both update at the same time. - * Allows for reliable save-and-restore semantics. - */ - synchronized (this) { - return nativeSetTargetHeapIdealFree(size); - } - } - /** - * @hide - */ - public float setTargetHeapConcurrentStart(int size) { - /* Synchronize to make sure that only one thread gets - * a given "old" value if both update at the same time. - * Allows for reliable save-and-restore semantics. - */ - synchronized (this) { - return nativeSetTargetHeapConcurrentStart(size); - } - } - /** * Sets the target SDK version. Should only be called before the * app starts to run, because it may change the VM's behavior in * dangerous ways. Use 0 to mean "current" (since callers won't @@ -180,12 +156,6 @@ public final class VMRuntime { * This value may be adjusted internally. */ private native void nativeSetTargetHeapUtilization(float newTarget); - /* @hide - */ - private native int nativeSetTargetHeapIdealFree(int size); - /* @hide - */ - private native int nativeSetTargetHeapConcurrentStart(int size); /** * This method exists for binary compatibility. It was part of |