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 SharedCloseablepublic void close()
public java.lang.Throwable close(java.lang.Throwable accumulate)
close in interface SharedCloseablepublic SafeMemory copy(long newSize)
@Inline
protected void checkBounds(long start,
                                   long end)
checkBounds in class Memorypublic void addTo(Ref.IdentityCollection identities)
addTo in interface SharedCloseableCopyright © 2018 The Apache Software Foundation