Searched defs:MemoryRef (Results 1 - 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/
H A DDirectByteBuffer.java44 * from Java. Each MemoryRef also has an isAccessible associated with it, which determines
49 * A single MemoryRef instance is shared across all slices and duplicates of a given buffer.
51 final static class MemoryRef { class in class:DirectByteBuffer
59 // Reference to original DirectByteBuffer that held this MemoryRef. The field is set
60 // only for the MemoryRef created through JNI NewDirectByteBuffer(void*, long) function.
64 // MemoryRef can outlive the original DirectByteBuffer instance if, for example, slice()
69 MemoryRef(int capacity) { method in class:DirectByteBuffer.MemoryRef
80 MemoryRef(long allocatedAddress, Object originalBufferObject) { method in class:DirectByteBuffer.MemoryRef
97 final MemoryRef memoryRef;
99 DirectByteBuffer(int capacity, MemoryRef memoryRe
[all...]

Completed in 6 milliseconds