Recently, I observed that a perverse amount of update_ui events are being sent around and postulated that this might possibly be one of the reasons for poor performance on some systems.
My problem is that I cannot reproduce the 100% load problem, so it is kind of hard to find out

However, this still looks promising:
When moving the mouse anywhere inside the Code::Blocks window (editor, manager pane, menu bar), I get a CPU usage of about 25% (averaged over a 1-minute interval). Removing a couple of
EVT_UPDATE_UI entries reduces the CPU load to 12% on the same machine.
Now, I would like those having the 100% CPU problem to assist in confirming (or not confirming) that this may be a reason for your poor performance:
Edit
src/main.cpp,
plugins/compilergcc/compilergcc.cpp, and
plugins/debuggergdb/debuggergdb.cpp, removing all lines containing
EVT_UPDATE_UI.
Recompile Code::Blocks and see if the CPU load is still that high.
Note that you cannot actually use this modified version for normal development, as it does not properly update quite a few things any more! The purpose is just to verify whether this is where your CPU time goes.