@Unretained(ENTRY_EVENT_NEW_VALUE)
  public Object getNewValueAsOffHeapDeserializedOrRaw() {
    Object result = getRawNewValue();
    if (mayHaveOffHeapReferences() && result instanceof StoredObject) {
      result = ((CachedDeserializable) result).getDeserializedForReading();
    }
    return AbstractRegion.handleNotAvailable(result); // fixes 49499
  }
Just like getRawNewValue(true) except if the raw new value is off-heap deserialize it.
geode-core/src/main/java/org/apache/geode/internal/cache/EntryEventImpl.java