use of com.ibm.dtfj.image.javacore.JCImageStackFrame in project openj9 by eclipse.
the class ImageProcessBuilder method addImageStackFrame.
public ImageStackFrame addImageStackFrame(long nativeThreadID, String name, long baseAddress, long procAddress) {
ImagePointer pointer = fImageAddressSpace.getPointer(nativeThreadID);
JCImageThread thread = fImageProcess.getImageThread(pointer);
ImagePointer ip = procAddress != IBuilderData.NOT_AVAILABLE ? fImageAddressSpace.getPointer(procAddress) : null;
JCImageStackFrame stackFrame = new JCImageStackFrame(name, null, ip);
if (thread != null) {
JCImageThread thrd = (JCImageThread) thread;
thrd.addImageStackFrame(stackFrame);
}
return stackFrame;
}
Aggregations