Home | History | Annotate | Download | only in alloc

Lines Matching refs:softLimit

134     size_t softLimit;
137 * setting the softLimit. Never allows less bytes than this to be free
143 * setting the softLimit. Never allows more bytes than this to be free
207 /* softLimit will be either SIZE_MAX or the limit for the
208 * active mspace. idealSize can be greater than softLimit
210 * heap, a non-SIZE_MAX softLimit should always be the same
213 return hs->softLimit <= hs->idealSize;
223 return hs->softLimit;
647 hs->softLimit = SIZE_MAX; // no soft limit at first
924 if (heap->bytesAllocated + n > hs->softLimit) {
929 LOGV_HEAP("softLimit of %zd.%03zdMB hit for %zd-byte allocation",
930 FRACTIONAL_MB(hs->softLimit), n);
1034 hs->softLimit = SIZE_MAX;
1043 // softLimit intentionally left at SIZE_MAX.
1057 * fixing up softLimit if necessary.
1250 static void setSoftLimit(HeapSource *hs, size_t softLimit)
1258 if (softLimit < currentHeapSize) {
1262 hs->softLimit = softLimit;
1267 mspace_set_footprint_limit(msp, softLimit);
1268 hs->softLimit = SIZE_MAX;