use of com.ibm.j9ddr.vm29.pointer.generated.J9PoolPuddleListPointer in project openj9 by eclipse.
the class Pool_29_V0 method capacity.
@Override
public long capacity() {
long numElements = 0;
try {
J9PoolPuddleListPointer puddleList = J9PoolPuddleListPointer.cast(pool.puddleList());
J9PoolPuddlePointer walk = puddleList.nextPuddle();
while (!walk.isNull()) {
numElements += pool.elementsPerPuddle().longValue();
walk = walk.nextPuddle();
}
} catch (CorruptDataException e) {
return 0;
}
return numElements;
}
use of com.ibm.j9ddr.vm29.pointer.generated.J9PoolPuddleListPointer in project openj9 by eclipse.
the class Pool_29_V0 method pool_startDo.
private VoidPointer pool_startDo() throws CorruptDataException {
slot = 0;
J9PoolPuddleListPointer puddleList = J9PoolPuddleListPointer.cast(pool.puddleList());
return poolPuddle_startDo(puddleList.nextPuddle(), true);
}
Aggregations