int loopCount = (Integer) handle.getAttribute(loopCounterName);
int maxLoopCount = getMaxLoopCount();
// maxLoopCount<=0����ζ��û��ѭ�����������ơ�
if (maxLoopCount > 0 && loopCount >= maxLoopCount) {
throw new TooManyLoopsException("Too many loops: exceeds the maximum count: " + maxLoopCount);
}
handle.invoke();
handle.setAttribute(loopCounterName, ++loopCount);
}