public boolean isOldValueOffHeap() {
    return isOffHeapReference(oldValue);
  }
This copies the off-heap new and/or old value to the heap. As a result the current off-heap
new/old will be released.
geode-core/src/main/java/org/apache/geode/internal/cache/EntryEventImpl.java