private boolean mightSendEvent(long bytesUsed) {
    final MemoryEvent mre = mostRecentEvent;
    final MemoryState oldState = mre.getState();
    final MemoryThresholds thresholds = mre.getThresholds();
    MemoryState newState = thresholds.computeNextState(oldState, bytesUsed);
    if (oldState != newState) {
      return true;
    } else
      return !oldState.isNormal() && bytesUsed != mre.getBytesUsed()
          && deliverNextAbnormalEvent;
  }
Return true if the given number of bytes compared to the current monitor state would generate a
new memory event.

@param bytesUsed Number of bytes of off-heap memory currently used.
@return true if a new event might need to be sent
geode-core/src/main/java/org/apache/geode/internal/cache/control/OffHeapMemoryMonitor.java