public class AllocBlock extends Object
Modifier and Type | Method and Description |
---|---|
void |
abortshadow(RWWriteCacheService cache)
Must release allocations made by this allocator.
|
void |
addAddresses(ArrayList addrs,
int rootAddr) |
boolean |
addressInRange(int addr,
int size) |
int |
alloc(int size)
The shadow, if non-null defines the context for this request.
|
void |
deshadow()
The transient bits will have been added to correctly, we now just need to
restore the commit bits from the m_saveCommit, to allow re-allocation
of non-committed storage.
|
boolean |
free(int addr,
int size) |
boolean |
freeBit(int bit) |
boolean |
freeBit(int bit,
boolean sessionProtect) |
int |
getAllocBits() |
String |
getStats(RWStore.AllocationStats stats) |
boolean |
hasFree() |
void |
shadow()
Store m_commit bits in m_saveCommit then duplicate transients to m_commit.
|
String |
show() |
boolean |
verify(int addr,
int size) |
public boolean verify(int addr, int size)
public boolean addressInRange(int addr, int size)
public boolean free(int addr, int size)
public boolean freeBit(int bit)
public boolean freeBit(int bit, boolean sessionProtect)
public int alloc(int size)
public boolean hasFree()
public int getAllocBits()
public String getStats(RWStore.AllocationStats stats)
public void addAddresses(ArrayList addrs, int rootAddr)
public void shadow()
public void deshadow()
public void abortshadow(RWWriteCacheService cache)
public String show()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.