https://bugs.kde.org/show_bug.cgi?id=464198

--- Comment #2 from Igor Kushnir <igor...@gmail.com> ---
(In reply to Milian Wolff from comment #1)
> do you have an idea on how we could possibly detect such cases to prevent
> them from slowing things down extremely?
A separate (dedicated or main) thread could time all running parse jobs and
abort those that run longer than a minute. A parse-aborting mechanism already
exists: ParseJob::abortRequested(). The atomic abortRequested variable can be
passed to the Visitor and checked in slow functions where the checks wouldn't
harm performance much, such as createClassTemplateSpecializationType().

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to