use of com.ibm.dtfj.image.javacore.JCCorruptData in project openj9 by eclipse.
the class JCJavaMonitor method getThreads.
/**
* @param threadIDs
*/
private Iterator getThreads(Vector threadIDs) {
Vector threads = new Vector();
Iterator it = threadIDs.iterator();
while (it.hasNext()) {
ImagePointer pointer = (ImagePointer) it.next();
JCJavaThread waitingThread = fRuntime.findJavaThread(pointer.getAddress());
if (waitingThread != null) {
threads.add(waitingThread);
} else {
threads.add(new JCCorruptData("Unknown thread", pointer));
}
}
return threads.iterator();
}
Aggregations