use of com.ibm.j9ddr.vm29.pointer.generated.MM_UnfinalizedObjectListPointer in project openj9 by eclipse.
the class CheckUnfinalizedList method print.
@Override
public void print() {
try {
MM_UnfinalizedObjectListPointer unfinalizedObjectList = getGCExtensions().unfinalizedObjectLists();
ScanFormatter formatter = new ScanFormatter(this, "unfinalizedObjectList");
while (unfinalizedObjectList.notNull()) {
formatter.section("list", unfinalizedObjectList);
J9ObjectPointer object = unfinalizedObjectList._head();
while (object.notNull()) {
formatter.entry(object);
object = ObjectAccessBarrier.getFinalizeLink(object);
}
formatter.endSection();
unfinalizedObjectList = unfinalizedObjectList._nextList();
}
formatter.end("unfinalizedObjectList");
} catch (CorruptDataException e) {
// TODO: handle exception
}
}
use of com.ibm.j9ddr.vm29.pointer.generated.MM_UnfinalizedObjectListPointer in project openj9 by eclipse.
the class CheckUnfinalizedList method check.
@Override
public void check() {
try {
MM_UnfinalizedObjectListPointer unfinalizedObjectList = getGCExtensions().unfinalizedObjectLists();
while (unfinalizedObjectList.notNull()) {
J9ObjectPointer object = unfinalizedObjectList._head();
while (object.notNull()) {
if (_engine.checkSlotUnfinalizedList(object, unfinalizedObjectList) != CheckBase.J9MODRON_SLOT_ITERATOR_OK) {
return;
}
object = ObjectAccessBarrier.getFinalizeLink(object);
}
unfinalizedObjectList = unfinalizedObjectList._nextList();
}
} catch (CorruptDataException e) {
// TODO: handle exception
}
}
Aggregations