use of com.ibm.j9ddr.vm29.j9.RootScanner in project openj9 by eclipse.
the class DTFJJavaRuntime method scanReferences.
private void scanReferences() {
references = new LinkedList<Object>();
AddCorruptionToListListener corruptionListener = new AddCorruptionToListListener(references);
register(corruptionListener);
try {
RootScanner scanner = new DTFJRootScanner();
/* We don't report stack slots here */
scanner.setScanStackSlots(false);
scanner.scanAllSlots();
} catch (Throwable t) {
CorruptData cd = J9DDRDTFJUtils.handleAsCorruptData(DTFJContext.getProcess(), t);
references.add(cd);
}
unregister(corruptionListener);
}
Aggregations