geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Krone (JIRA)" <>
Subject [jira] [Updated] (GEODE-1297) use EntryEventImpl.deserializeOffHeap
Date Thu, 15 Jun 2017 20:40:00 GMT


Fred Krone updated GEODE-1297:
    Labels: offheap  (was: )

> use EntryEventImpl.deserializeOffHeap
> -------------------------------------
>                 Key: GEODE-1297
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: offheap
>            Reporter: Darrel Schneider
>              Labels: offheap
> 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

View raw message