BinaryObjectOffHeapImpl leaked to app code level

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

BinaryObjectOffHeapImpl leaked to app code level

Denis Magda
Igniters,

To my knowledge BinaryObjectOffHeapImpl is considered to be used under
some internal lock only to prevent possible offheap pointer movement.

However seems that we made it available to public code. If to start a
partitioned cache in OFFHEAP_TIRED mode, get BinaryObject from the cache
inside of a TX and put the same object back we will get exception like
below.
https://issues.apache.org/jira/browse/IGNITE-2835

*Alex G., Vladimir*, could you take a look at this issue and comment on
this?

Regards,
Denis