private Token addressToToken(long ohAddress) {
    if (isOffHeap(ohAddress) || (ohAddress & ENCODED_BIT) != 0) {
      return Token.NOT_A_TOKEN;
    }

    return TokenAddress.ADDRESS_TO_OBJECT[(int) ohAddress >> 1];
  }
This method may release the object stored at ohAddress if the result needs to be decompressed
and the decompress parameter is true. This decompressed result will be on the heap.

@param ohAddress OFF_HEAP_ADDRESS
@param decompress true if off-heap value should be decompressed before returning
@param context used for decompression
@return OFF_HEAP_OBJECT (sometimes)
geode-core/src/main/java/org/apache/geode/internal/offheap/OffHeapRegionEntryHelperInstance.java