The package manager checks in every initialize() if all required-extensions are active or activates them.
I would opt to trust that the PackageStates cache, put the list of required extensions there, too in order to define the constant.
[TASK] Improve performance of Bootstrap/PackageManager
This patch is a combined patch which tries to address
the findings from the Bootstrap/PackageManager/ClassLoader
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny