AlgResourcePool ignores isReEntrant override
I think there is a bug in AlgResourcePool when it comes to deciding if an algorithm instance is "reentrant" or not.
AlgResourcePool::acquireAlgorithm only checks if the cardinality is zero to decide if an algorithm is re-entrant but ignores any potential isReEntrant override. Note that decodeTopAlgs does seem to handle it correctly.
This could explain some unexpected concurrent scheduling we are seeing in the ATLAS HLT (ATR-25365). But someone should try to reproduce/verify my hypothesis.