added support for throttling marking threads