diff options
-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 |