On Fri, Jan 27, 2017 at 7:03 AM, Alexey Goncharuk <
[hidden email]> wrote:
> Andrey,
>
> From the top of my head I would guess that this is done so because
> keyIterator handles on-heap, off-heap and swap, while entrySet() return
> only on-heap entries. Please check that your change does not break
> iteration with off-heap and swap enabled (if it does, it just means that we
> need to implement a correct entry iterator for off-heap as well).
>
Well, in this case we should definitely use entry iterator whenever
off-heap is not configured.