Darrel Schneider created GEODE-1297:
---------------------------------------
Summary: use EntryEventImpl.deserializeOffHeap
Key: GEODE-1297
URL: https://issues.apache.org/jira/browse/GEODE-1297
Project: Geode
Issue Type: Improvement
Components: offheap
Reporter: Darrel Schneider
At one point some work was done to allow PdxInstances to be created that would
have a reference to off-heap memory instead of copying the off-heap memory to a
heap byte array.
This work was not completed. Currently if you call
EntryEventImpl.deserializeOffHeap then it will return an optimized PdxInstance.
But the callers need to be changed to then release that PdxInstances off-heap
retained reference.
The main place to look into calling deserializeOffHeap is
OffHeapStoredObject.getDeserializedValue(Region, RegionEntry) when it currently
does this: EntryEventImpl.deserialize(getRawBytes())
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)