final Matcher matcher = Matcher.getDefault();
Utils.processPersistable(new Persistable.Query() {
public TransactionResult runQuery(EntityManager em) throws Exception {
PrestimeCPUCCTNode node = getBiggestChild(root);
Component componentCandidate = null;
long selfTime;
boolean canContinue = true;
do {
selfTime = getSelfTime(node);
String methodName = getMethodName(node);
suspiciousStackPrefix.add(new MethodItem(methodName, node.getTotalTime0(), selfTime));
Component nodeComponent = matcher.matchMethod(em, node.getNodeName());
if (nodeComponent != null) {
componentCandidate = nodeComponent;// find deepest known component
}
if (isMoreThan(selfTime, PERCENTAGE_OF_SELF_NODE, node.getTotalTime0())) {
if (nodeComponent != null) {