[BZ-982586] optimize compilation performance by parallelizing generated classes wiring and caching AlphaNodes hashing
(cherry picked from commit eae854a7d5f8e86cf41f48c13d4cfef2a134139b)