public class SafeMemory extends Memory implements SharedCloseable
NO_BYTE_BUFFERS, peer, size
Constructor and Description |
---|
SafeMemory(long size) |
Modifier and Type | Method and Description |
---|---|
void |
addTo(Ref.IdentityCollection identities) |
protected void |
checkBounds(long start,
long end) |
void |
close() |
java.lang.Throwable |
close(java.lang.Throwable accumulate) |
SafeMemory |
copy(long newSize) |
void |
free() |
SafeMemory |
sharedCopy() |
public SafeMemory sharedCopy()
sharedCopy
in interface SharedCloseable
public void close()
public java.lang.Throwable close(java.lang.Throwable accumulate)
close
in interface SharedCloseable
public SafeMemory copy(long newSize)
@Inline protected void checkBounds(long start, long end)
checkBounds
in class Memory
public void addTo(Ref.IdentityCollection identities)
addTo
in interface SharedCloseable
Copyright © 2016 The Apache Software Foundation