X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=vm%2Falloc%2FAlloc.h;h=eba53df7e83d338626864da60a99b39965c3d176;hb=a371fad368c4d697b2906079bfbe8059269ed362;hp=804e40e1d0a4eb16548c8172be94f8ad81481069;hpb=6ff6ec6b6361db707e4b0318075fc38dd319a49a;p=android-x86%2Fdalvik.git diff --git a/vm/alloc/Alloc.h b/vm/alloc/Alloc.h index 804e40e1d..eba53df7e 100644 --- a/vm/alloc/Alloc.h +++ b/vm/alloc/Alloc.h @@ -155,9 +155,12 @@ void dvmSetTargetHeapUtilization(float newTarget); /* * Initiate garbage collection. * - * This usually happens automatically, but can also be caused by Runtime.gc(). + * This usually happens automatically, but can also be caused by + * Runtime.gc(). If clearSoftReferences is true, the garbage + * collector will not attempt to preserve any softly-reachable + * SoftReference referents. */ -void dvmCollectGarbage(bool collectSoftRefs); +void dvmCollectGarbage(bool clearSoftReferences); /* * Returns a count of the direct instances of a class.