/** * Mark this allocator reclaiming; this will permit any outstanding allocations to temporarily * overshoot the maximum memory limit so that flushing can begin immediately */ public void setDiscarding() { state = state.transition(LifeCycle.DISCARDING); // mark the memory owned by this allocator as reclaiming onHeap.markAllReclaiming(); offHeap.markAllReclaiming(); }
/** * Mark this allocator reclaiming; this will permit any outstanding allocations to temporarily * overshoot the maximum memory limit so that flushing can begin immediately */ public void setDiscarding() { state = state.transition(LifeCycle.DISCARDING); // mark the memory owned by this allocator as reclaiming onHeap.markAllReclaiming(); offHeap.markAllReclaiming(); }
/** * Indicate the memory and resources owned by this allocator are no longer referenced, * and can be reclaimed/reused. */ public void setDiscarded() { state = state.transition(LifeCycle.DISCARDED); // release any memory owned by this allocator; automatically signals waiters onHeap.releaseAll(); offHeap.releaseAll(); }
/** * Indicate the memory and resources owned by this allocator are no longer referenced, * and can be reclaimed/reused. */ public void setDiscarded() { state = state.transition(LifeCycle.DISCARDED); // release any memory owned by this allocator; automatically signals waiters onHeap.releaseAll(); offHeap.releaseAll(); }
/** * Mark this allocator reclaiming; this will permit any outstanding allocations to temporarily * overshoot the maximum memory limit so that flushing can begin immediately */ public void setDiscarding() { state = state.transition(LifeCycle.DISCARDING); // mark the memory owned by this allocator as reclaiming onHeap.markAllReclaiming(); offHeap.markAllReclaiming(); }
/** * Indicate the memory and resources owned by this allocator are no longer referenced, * and can be reclaimed/reused. */ public void setDiscarded() { state = state.transition(LifeCycle.DISCARDED); // release any memory owned by this allocator; automatically signals waiters onHeap.releaseAll(); offHeap.releaseAll(); }
/** * Mark this allocator reclaiming; this will permit any outstanding allocations to temporarily * overshoot the maximum memory limit so that flushing can begin immediately */ public void setDiscarding() { state = state.transition(LifeCycle.DISCARDING); // mark the memory owned by this allocator as reclaiming onHeap.markAllReclaiming(); offHeap.markAllReclaiming(); }
/** * Indicate the memory and resources owned by this allocator are no longer referenced, * and can be reclaimed/reused. */ public void setDiscarded() { state = state.transition(LifeCycle.DISCARDED); // release any memory owned by this allocator; automatically signals waiters onHeap.releaseAll(); offHeap.releaseAll(); }
/** * Mark this allocator reclaiming; this will permit any outstanding allocations to temporarily * overshoot the maximum memory limit so that flushing can begin immediately */ public void setDiscarding() { state = state.transition(LifeCycle.DISCARDING); // mark the memory owned by this allocator as reclaiming onHeap.markAllReclaiming(); offHeap.markAllReclaiming(); }
/** * Indicate the memory and resources owned by this allocator are no longer referenced, * and can be reclaimed/reused. */ public void setDiscarded() { state = state.transition(LifeCycle.DISCARDED); // release any memory owned by this allocator; automatically signals waiters onHeap.releaseAll(); offHeap.releaseAll(); }