use of com.ibm.j9ddr.vm29.pointer.generated.J9HiddenInstanceFieldPointer in project openj9 by eclipse.
the class J9ObjectFieldOffsetIterator_V1 method copyHiddenInstanceFieldsList.
// Based on fieldOffsetsStartDo in resolvefield.cpp
private LinkedList<HiddenInstanceField> copyHiddenInstanceFieldsList(J9JavaVMPointer vm) throws CorruptDataException {
LinkedList<HiddenInstanceField> list = new LinkedList<HiddenInstanceField>();
J9HiddenInstanceFieldPointer fieldPointer = vm.hiddenInstanceFields();
while (!fieldPointer.isNull()) {
list.add(new HiddenInstanceField(fieldPointer));
fieldPointer = fieldPointer.next();
}
return list;
}
Aggregations