private boolean mustEvict() {
    LocalRegion owner = _getOwner();
    InternalResourceManager resourceManager = owner.getCache().getInternalResourceManager();
    boolean offheap = owner.getAttributes().getOffHeap();
    return resourceManager.getMemoryMonitor(offheap).getState().isEviction() && sizeInVM() > 0;
  }
return the current size of all the entries.

@return The current size of all the entries.
geode-core/src/main/java/org/apache/geode/internal/cache/VMLRURegionMap.java