lib.unwind
Class ElfImage
java.lang.Object
lib.unwind.ElfImage
public class ElfImage
- extends Object
An object that, eventually, releases its underlying mmaped [elf]
data during a garbage collect.
Since the garbage collect will, typically, occure after libunwind's
step has finished with the data this operation is safe. However,
there is the real possibility of the GC occuring early, unmapping
the data causing an NPE.
Field Summary |
private long |
image
|
private long |
size
|
Constructor Summary |
ElfImage(long image,
long size)
|
Method Summary |
protected void |
finalize()
|
private static void |
unmap(long image,
long size)
|
image
private final long image
size
private final long size
ElfImage
public ElfImage(long image,
long size)
finalize
protected void finalize()
- Overrides:
finalize
in class Object
unmap
private static void unmap(long image,
long size)