xterm consumes cpu when selecting text with mouse (holding
down left mouse button) and when a program working under the
xterm outputs something to stdout.
Easy way to reproduce:
while :; do echo aaa; sleep 1; done
(while this runs, select text and hold down left mouse
watch cpu load.
release left mouse button - spinning stops.
fixed for next release.