> On 23 Feb 2017, at 11:30, Vitaly Davidovich <[email protected]> wrote: >> ... > The buffers are reused by having them point to different native memory > block addresses; those blocks are managed by native code. As mentioned, > the ByteBuffer (DirectByteBuffer concretely) is used as the Java level > interface/view of native memory, allowing Java and native code to > communicate.
So a DBB, under your code, may report a different address at some time in the future, to that of what it currently reports? I was not aware of this usecase. Is any similar code available on the web, or elsewhere, so we could try to determine why this is being done? -Chris.
